| 1 |
Authorscip-debian debian kallisto 0.51.1+dfsg-2 kallisto/patches/`std_gnu17.patch`#Author.: Andreas Tille <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Last-Updatescip-debian debian kallisto 0.51.1+dfsg-2 kallisto/patches/`std_gnu17.patch`#Last-Update.: 2025-10-21 |
| 3 |
Descriptionscip-debian debian kallisto 0.51.1+dfsg-2 kallisto/patches/`std_gnu17.patch`#Description.: Try hard to get bifrost build with recent gcc |
| 4 |
|
| 5 |
--- a/CMakeLists.txtscip-debian debian kallisto 0.51.1+dfsg-2 kallisto/upstream/`CMakeLists.txt`: |
| 6 |
+++ b/CMakeLists.txtscip-debian debian kallisto 0.51.1+dfsg-2 kallisto/upstream/`CMakeLists.txt`: |
| 7 |
@@ -54,6 +54,7 @@ else() |
| 8 |
check_cxx_compiler_flag(-std=c++17 COMPILER_SUPPORTS_CXX17) |
| 9 |
if(COMPILER_SUPPORTS_CXX17) |
| 10 |
set(CMAKE_CXX_STANDARD 17) |
| 11 |
+ set(CMAKE_CXX_EXTENSIONS ON) |
| 12 |
else() |
| 13 |
set(CMAKE_CXX_STANDARD 11) |
| 14 |
endif() |
| 15 |
@@ -63,7 +64,8 @@ endif() |
| 16 |
|
| 17 |
#add_compile_options(-Wall -Wno-unused-function) |
| 18 |
add_compile_options(-Wno-subobject-linkage) # Suppress bifrost warning |
| 19 |
|
| 20 |
+add_compile_options(-Wno-deprecated-declarations) # More relaxation for bifrost |
| 21 |
+set(PROJECT_BIFROST_CMAKE_CXX_FLAGS "-Wno-subobject-linkage -Wno-return-type -Wno-deprecated-declarations") # Suppress bifrost warning |
| 22 |
|
| 23 |
if(LINK MATCHES static) |
| 24 |
message("static build") |