From: Nabil Ghodbane Date: Mon, 28 Oct 2024 11:50:32 +0000 (+0100) Subject: bos #43158: switch off TTK CPU optimisation since it leads to non portable TTK library X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d9e3474c5de1acfe70f93839249d837e90fc0628;p=tools%2Fsat_salome.git bos #43158: switch off TTK CPU optimisation since it leads to non portable TTK library --- diff --git a/products/compil_scripts/TTK.sh b/products/compil_scripts/TTK.sh index bc109d9..95b52ce 100755 --- a/products/compil_scripts/TTK.sh +++ b/products/compil_scripts/TTK.sh @@ -18,6 +18,8 @@ CMAKE_OPTIONS+=" -Dembree_DIR:PATH=${EMBREE_ROOT_DIR}/lib/cmake/embree-${EMBREE_ # Embree CMake defines EMBREE_INCLUDE_DIRS but TTK uses EMBREE_INCUDE_DIR which is undefined. CMAKE_OPTIONS+=" -DEMBREE_INCLUDE_DIR=${EMBREE_ROOT_DIR}/include" +# CPU optimization leads to non portable TTK see bos #43158 +CMAKE_OPTIONS+=" -DTTK_ENABLE_CPU_OPTIMIZATION=OFF" LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION" @@ -25,8 +27,6 @@ case $LINUX_DISTRIBUTION in DB09|DB10) # A.Geay (Sous debian10 sur nos VM de prod, on a pas mal de nos tests qui plantent avec des SIGILL) # D.Hoang: application à Debian 9 - echo "WARNING: switching off cpu optimization!" - CMAKE_OPTIONS+=" -DTTK_ENABLE_CPU_OPTIMIZATION=OFF" CMAKE_OPTIONS+=" -DTTK_ENABLE_EIGEN=ON" ;; *)