From: Nabil Ghodbane Date: Thu, 14 Nov 2024 16:15:23 +0000 (+0100) Subject: spns #43521: Openturns: switch off CXX17 support which breaks universal binary. See... X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1ce58bc9029b40e03f0e6d28edf39837484a4772;p=tools%2Fsat_salome.git spns #43521: Openturns: switch off CXX17 support which breaks universal binary. See https://github.com/openturns/openturns/issues/2820 --- 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)