forked from ruslo/hunter
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceres-solver: update to v2.1.0-p0 with OpenBLAS support (#643)
Update `ceres-solver` to `v2.1.0-p0`. Add option `WITH_OPENBLAS` (disabled in Hunter per default) to build against `OpenBLAS` instead of generic `LAPACK`. `OpenBLAS` `v0.3.21` provides a f2c-converted `LAPACK` `v3.9.0` copy, which is used when building without a Fortran compiler. This enables us to have a C++ only build, making static libraries easier (no fortran runtime libs anymore). Update dynLAPACK example with the new OpenBLAS settings (for SuiteSparse as well). * SuiteSparse: fix WITH_OPENBLAS setting, LAPACK doesn't have this flag
- Loading branch information
1 parent
cb28720
commit 0042dd2
Showing
6 changed files
with
54 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
hunter_config(SuiteSparse | ||
VERSION ${HUNTER_SuiteSparse_VERSION} | ||
CMAKE_ARGS | ||
BUILD_METIS=ON | ||
WITH_OPENBLAS=OFF # we want to test generic LAPACK dynamic lib, not OpenBLAS | ||
) | ||
hunter_config(LAPACK | ||
VERSION ${HUNTER_LAPACK_VERSION} | ||
CMAKE_ARGS | ||
BUILD_SHARED_LIBS=ON | ||
BUILD_METIS=ON | ||
WITH_OPENBLAS=OFF # we want to test generic LAPACK dynamic lib, not OpenBLAS | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters