From 1ce58bc9029b40e03f0e6d28edf39837484a4772 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Thu, 14 Nov 2024 17:15:23 +0100 Subject: [PATCH] spns #43521: Openturns: switch off CXX17 support which breaks universal binary. See https://github.com/openturns/openturns/issues/2820 --- products/compil_scripts/openturns-1.23.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/products/compil_scripts/openturns-1.23.sh b/products/compil_scripts/openturns-1.23.sh index 059f644..ace5d3e 100755 --- a/products/compil_scripts/openturns-1.23.sh +++ b/products/compil_scripts/openturns-1.23.sh @@ -35,6 +35,16 @@ if [ -n "$TBB_ROOT_DIR" ] && [ "$SAT_tbb_IS_NATIVE" != "1" ]; then CMAKE_OPTIONS+=" -Dtbb_DIR=${TBB_ROOT_DIR}/lib/cmake" fi +# https://github.com/openturns/openturns/issues/2820 +case $LINUX_DISTRIBUTION in + CO7) + echo "WARNING: switching OFF USE_CXX17" + CMAKE_OPTIONS+=" -DUSE_CXX17=OFF" + ;; + *) + ;; +esac + # https://github.com/persalys/persalys/issues/745 case $LINUX_DISTRIBUTION in UB22*|CO8*|CO9*|FD36|FD37|FD38) -- 2.39.2