From: Nabil Ghodbane Date: Wed, 30 Nov 2022 15:39:15 +0000 (+0100) Subject: bos #32890: TTK disable Eigen on all but Debian 9, 10 X-Git-Tag: V9_11_0~171 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8ec2e4a1364e98aa9080a1f9045550ed6730fe80;p=tools%2Fsat_salome.git bos #32890: TTK disable Eigen on all but Debian 9, 10 --- diff --git a/products/compil_scripts/TTK.sh b/products/compil_scripts/TTK.sh index c03cee2..092f5f6 100755 --- a/products/compil_scripts/TTK.sh +++ b/products/compil_scripts/TTK.sh @@ -14,9 +14,11 @@ else fi CMAKE_OPTIONS+=" -DTTK_BUILD_PARAVIEW_PLUGINS=ON" CMAKE_OPTIONS+=" -Dembree_DIR:PATH=${EMBREE_ROOT_DIR}/lib/cmake/embree-${EMBREE_VERSION}" + # Embree CMake defines EMBREE_INCLUDE_DIRS but TTK uses EMBREE_INCUDE_DIR which is undefined. CMAKE_OPTIONS+=" -DEMBREE_INCLUDE_DIR=${EMBREE_ROOT_DIR}/include" + LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION" case $LINUX_DISTRIBUTION in @@ -25,8 +27,12 @@ case $LINUX_DISTRIBUTION in # D.Hoang: application à Debian 9 echo "WARNING: switching off cpu optimization!" CMAKE_OPTIONS+=" -DTTK_ENABLE_CPU_OPTIMIZATION=OFF" + CMAKE_OPTIONS+=" -DTTK_ENABLE_EIGEN=ON" ;; *) + # bos #32890 : conflict at runtime between PlaneGCS and TTK which uses Eigen as well + # FIXME + CMAKE_OPTIONS+=" -DTTK_ENABLE_EIGEN=OFF" ;; esac