CMAKE_OPTIONS+=" -DQWT_INCLUDE_DIR=$QWT_ROOT_DIR/include"
fi
-if [[ "$DIST_NAME$DIST_VERSION" == "8" ]]; then
+if [[ "$DIST_NAME$DIST_VERSION" == "CO8" ]]; then
CMAKE_OPTIONS+=" -DUSE_SPHINX=OFF" # missing tex-preview LateX package for CentOS 8
elif [ "$DIST_NAME$DIST_VERSION" == "FD36" ]; then
CMAKE_OPTIONS+=" -DUSE_SPHINX=OFF" #
CMAKE_OPTIONS+=" -DQWT_INCLUDE_DIR=$QWT_ROOT_DIR/include"
fi
-if [[ "$DIST_NAME$DIST_VERSION" == "8" ]]; then
+if [[ "$DIST_NAME$DIST_VERSION" == "CO8" ]]; then
CMAKE_OPTIONS+=" -DUSE_SPHINX=OFF" # missing tex-preview LateX package for CentOS 8
+elif [[ "$DIST_NAME$DIST_VERSION" == "CO7" ]]; then
+ CMAKE_OPTIONS+=" -DUSE_SPHINX=OFF" # missing tex-preview LateX package for CentOS 7 - à installer
elif [ "$DIST_NAME$DIST_VERSION" == "FD36" ]; then
CMAKE_OPTIONS+=" -DUSE_SPHINX=OFF" #
else
LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
case $LINUX_DISTRIBUTION in
- DB10)
- # A.Geay (Sous debian10 sur nos VM de prod, on a pas mal de nos tests qui plantent avec des SIGILL)
- echo "WARNING: switching off cpu optimization!"
- CMAKE_OPTIONS+=" -DTTK_ENABLE_CPU_OPTIMIZATION=OFF"
- ;;
+ 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"
+ ;;
*)
- ;;
+ ;;
esac
echo