Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
+ update release to 4.3.1; + create devel port at bb5c7e95 (20180529); + move to CMake 1.1 PG; + add variants for how the 4.3 series configures; + add patches to allow for variants to work.
- Loading branch information
Showing
3 changed files
with
173 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- CMakeLists.txt.orig | ||
+++ CMakeLists.txt | ||
@@ -45,7 +45,9 @@ | ||
elseif (BLA_VENDOR MATCHES "^ATLAS") | ||
set (HAVE_BLAS_ATLAS 1) | ||
set (HAVE_BLAS 1) | ||
- elseif( (BLA_VENDOR STREQUAL "Generic") OR (BLA_VENDOR STREQUAL "All") ) | ||
+ elseif( (BLA_VENDOR STREQUAL "Generic") OR | ||
+ (BLA_VENDOR STREQUAL "All") OR | ||
+ (BLA_VENDOR STREQUAL "Apple")) | ||
set (HAVE_BLAS 1) | ||
else() | ||
message (WARNING "Unknown BLAS vendor: ${BLA_VENDOR}") | ||
@@ -56,7 +58,7 @@ | ||
#check for LAPACK library | ||
find_package ( LAPACK ) | ||
if (LAPACK_FOUND) | ||
- if ((BLA_VENDOR MATCHES "^ACML") OR (BLA_VENDOR MATCHES "^Intel") OR (BLA_VENDOR MATCHES "^ATLAS") OR ( BLA_VENDOR STREQUAL "Generic" ) OR (BLA_VENDOR STREQUAL "All")) | ||
+ if ((BLA_VENDOR MATCHES "^ACML") OR (BLA_VENDOR MATCHES "^Intel") OR (BLA_VENDOR MATCHES "^ATLAS") OR ( BLA_VENDOR STREQUAL "Generic" ) OR (BLA_VENDOR STREQUAL "All") OR ( BLA_VENDOR STREQUAL "Apple" )) | ||
set (HAVE_LAPACK 1) | ||
else() | ||
message (WARNING "Unknown LAPACK vendor: ${BLA_VENDOR}") | ||
@@ -170,7 +172,9 @@ | ||
option(ITPP_SHARED_LIB "Building IT++ as shared library" on) | ||
#set library name here to be available for all targets | ||
if (ITPP_SHARED_LIB) | ||
- if ((CMAKE_BUILD_TYPE STREQUAL Release) OR (NOT CMAKE_BUILD_TYPE)) | ||
+ if ((CMAKE_BUILD_TYPE STREQUAL Release) OR | ||
+ (CMAKE_BUILD_TYPE STREQUAL MacPorts) OR | ||
+ (NOT CMAKE_BUILD_TYPE)) | ||
set (libitpp_target itpp) | ||
set (CMAKE_CXX_FLAGS "-DNDEBUG ${CMAKE_CXX_FLAGS}") | ||
else() |
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- CMakeLists.txt.orig | ||
+++ CMakeLists.txt | ||
@@ -45,7 +45,9 @@ | ||
elseif (BLA_VENDOR MATCHES "^ATLAS") | ||
set (HAVE_BLAS_ATLAS 1) | ||
set (HAVE_BLAS 1) | ||
- elseif( (BLA_VENDOR STREQUAL "Generic") OR (BLA_VENDOR STREQUAL "All") ) | ||
+ elseif( (BLA_VENDOR STREQUAL "Generic") OR | ||
+ (BLA_VENDOR STREQUAL "All") OR | ||
+ (BLA_VENDOR STREQUAL "Apple")) | ||
set (HAVE_BLAS 1) | ||
else() | ||
message (WARNING "Unknown BLAS vendor: ${BLA_VENDOR}") | ||
@@ -56,7 +58,7 @@ | ||
#check for LAPACK library | ||
find_package ( LAPACK ) | ||
if (LAPACK_FOUND) | ||
- if ((BLA_VENDOR MATCHES "^ACML") OR (BLA_VENDOR MATCHES "^Intel") OR (BLA_VENDOR MATCHES "^ATLAS") OR ( BLA_VENDOR STREQUAL "Generic" ) OR (BLA_VENDOR STREQUAL "All")) | ||
+ if ((BLA_VENDOR MATCHES "^ACML") OR (BLA_VENDOR MATCHES "^Intel") OR (BLA_VENDOR MATCHES "^ATLAS") OR ( BLA_VENDOR STREQUAL "Generic" ) OR (BLA_VENDOR STREQUAL "All") OR ( BLA_VENDOR STREQUAL "Apple" )) | ||
set (HAVE_LAPACK 1) | ||
else() | ||
message (WARNING "Unknown LAPACK vendor: ${BLA_VENDOR}") | ||
@@ -172,7 +174,9 @@ | ||
option(ITPP_SHARED_LIB "Building IT++ as shared library" on) | ||
#set library name here to be available for all targets | ||
if (ITPP_SHARED_LIB) | ||
- if ((CMAKE_BUILD_TYPE STREQUAL Release) OR (NOT CMAKE_BUILD_TYPE)) | ||
+ if ((CMAKE_BUILD_TYPE STREQUAL Release) OR | ||
+ (CMAKE_BUILD_TYPE STREQUAL MacPorts) OR | ||
+ (NOT CMAKE_BUILD_TYPE)) | ||
set (libitpp_target itpp) | ||
set (CMAKE_CXX_FLAGS "-DNDEBUG ${CMAKE_CXX_FLAGS}") | ||
else() |