diff options
author | François Bissey <frp.bissey@gmail.com> | 2020-06-17 11:25:48 +1200 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2020-06-16 21:40:14 -0400 |
commit | 538c2b0961838fb7ad41b342083e52d61998d33f (patch) | |
tree | b07e410b3fa41fe9f0842b3dd757d30a938ddadc /sci-mathematics/arb/files/arb-2.18.0-build_type.patch | |
parent | sci-mathematics/flint: upstream bump to 2.6.0 (diff) | |
download | gentoo-538c2b0961838fb7ad41b342083e52d61998d33f.tar.gz gentoo-538c2b0961838fb7ad41b342083e52d61998d33f.tar.bz2 gentoo-538c2b0961838fb7ad41b342083e52d61998d33f.zip |
sci-mathematics/arb: bump to 2.18.0. Use cmake.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Closes: https://github.com/gentoo/gentoo/pull/16281
Signed-off-by: François René Pierre Bissey <frp.bissey@gmail.com>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
Diffstat (limited to 'sci-mathematics/arb/files/arb-2.18.0-build_type.patch')
-rw-r--r-- | sci-mathematics/arb/files/arb-2.18.0-build_type.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sci-mathematics/arb/files/arb-2.18.0-build_type.patch b/sci-mathematics/arb/files/arb-2.18.0-build_type.patch new file mode 100644 index 000000000000..1db7d5f2df42 --- /dev/null +++ b/sci-mathematics/arb/files/arb-2.18.0-build_type.patch @@ -0,0 +1,21 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index ec806fe..4101c09 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -19,11 +19,11 @@ endif () + set (BUILD_SHARED_LIBS yes CACHE BOOL "Build shared library or not") + set (BUILD_TESTING no CACHE BOOL "Build tests or not") + +-if (NOT (CMAKE_BUILD_TYPE STREQUAL "Debug" OR +- CMAKE_BUILD_TYPE STREQUAL "Release")) +- message("${CMAKE_BUILD_TYPE}") +- message(FATAL_ERROR "CMAKE_BUILD_TYPE must be one of: Debug, Release (current value: '${CMAKE_BUILD_TYPE}')") +-endif () ++# if (NOT (CMAKE_BUILD_TYPE STREQUAL "Debug" OR ++# CMAKE_BUILD_TYPE STREQUAL "Release")) ++# message("${CMAKE_BUILD_TYPE}") ++# message(FATAL_ERROR "CMAKE_BUILD_TYPE must be one of: Debug, Release (current value: '${CMAKE_BUILD_TYPE}')") ++# endif () + + if ("${CMAKE_SIZEOF_VOID_P}" STREQUAL "8") + set (PLATFORM "x64") |