From d9e3474c5de1acfe70f93839249d837e90fc0628 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 28 Oct 2024 12:50:32 +0100 Subject: [PATCH] bos #43158: switch off TTK CPU optimisation since it leads to non portable TTK library --- products/compil_scripts/TTK.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" ;; *) -- 2.39.2