Skip to content

Commit 180f36c

Browse files
committed
fix(example): eigen example uses renamed 'eigen_blas' feature (was 'blas')
The recipe renamed the BLAS-provider feature blas -> eigen_blas; update the example's dependency spec to match (it referenced the now-removed 'blas', failing the smoke). eigen_blas alone (no EIGEN_USE_BLAS) compiles cleanly.
1 parent f993072 commit 180f36c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

tests/examples/eigen/mcpp.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ default = "gcc@16.1.0"
1010
[indices]
1111
compat = { path = "../../.." }
1212

13-
# `features = ["blas"]` opts into Eigen's reference BLAS (eigen_blas) so this
13+
# `features = ["eigen_blas"]` opts into Eigen's reference BLAS provider so this
1414
# example also exercises the feature-gated source build. Without it, the core
15-
# header-only `#include <Eigen/...>` path still works on its own.
15+
# header-only `#include <Eigen/...>` path still works on its own. (NOTE: do not
16+
# combine with `use_blas` — that defines EIGEN_USE_BLAS, which is incompatible
17+
# with compiling Eigen's own BLAS sources; see the recipe header.)
1618
[dependencies.compat]
17-
eigen = { version = "5.0.1", features = ["blas"] }
19+
eigen = { version = "5.0.1", features = ["eigen_blas"] }
1820

1921
[targets.eigen-example]
2022
kind = "bin"

0 commit comments

Comments
 (0)