-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* hotfix/0.22.1: Version 0.22.1 ATLAS-314 Support older Eigen versions (e.g. 3.2.0) Fix tools/install-pgi.sh by updating the download URL
- Loading branch information
Showing
5 changed files
with
27 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.22.0 | ||
0.22.1 |
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,8 +1,12 @@ | ||
### Eigen | ||
|
||
set( Eigen3_NO_MODULE ON ) | ||
ecbuild_find_package( NAME Eigen3 VERSION 3.3 QUIET ) | ||
ecbuild_add_option( FEATURE EIGEN | ||
DESCRIPTION "Use Eigen linear algebra library" | ||
CONDITION TARGET Eigen3::Eigen ) | ||
REQUIRED_PACKAGES Eigen3 ) | ||
|
||
if( HAVE_EIGEN AND NOT TARGET Eigen3::Eigen ) | ||
# This is the case for older Eigen versions (e.g. 3.2.0) | ||
ecbuild_add_library( TARGET atlas_eigen3 TYPE INTERFACE ) | ||
target_include_directories( atlas_eigen3 INTERFACE ${EIGEN3_INCLUDE_DIRS} ) | ||
add_library( Eigen3::Eigen ALIAS atlas_eigen3 ) | ||
endif() |
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