]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
CentOS 8: fails to build documentation of OT
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 7 Mar 2022 10:22:38 +0000 (11:22 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Mon, 7 Mar 2022 10:22:38 +0000 (11:22 +0100)
products/compil_scripts/openturns-1.17.sh

index 5d45c4e3d22e09cb7b404f50ce6253a34b035f09..efda7e1802c3983bdc231ff8a8ad2b163916d4c2 100755 (executable)
@@ -155,8 +155,8 @@ if [[ -d "$SOURCE_DIR/otfftw-0.11" ]]; then
         mkdir ${BUILD_DIR}/$k
         cd ${BUILD_DIR}/$k 
         CMAKE_EXTRA_OPTIONS=
-       if [[ $DIST_NAME == "CO" && $DIST_VERSION == "7" ]]; then
-            CMAKE_EXTRA_OPTIONS+=" -DBUILD_DOC=OFF"  # needs extra latex modules on CentOS 7
+       if [[ $DIST_NAME == "CO" ]]; then
+            CMAKE_EXTRA_OPTIONS+=" -DBUILD_DOC=OFF"  # needs extra latex modules on CentOS 7, 8
             CMAKE_EXTRA_OPTIONS+=" -DUSE_SPHINX=OFF"
         fi
         if [[ $k == "otmixmod" ]]; then