]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
spns #26828: convergence EDF: CentOS 7: switch off documentation for Openturns
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 2 Mar 2022 15:48:07 +0000 (16:48 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 2 Mar 2022 15:48:07 +0000 (16:48 +0100)
products/compil_scripts/openturns-1.17.sh
products/openturns.pyconf

index 42e20172254983d9ec9d82c6e3fbf7c695eb3b3f..5d45c4e3d22e09cb7b404f50ce6253a34b035f09 100755 (executable)
@@ -155,6 +155,10 @@ 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
+            CMAKE_EXTRA_OPTIONS+=" -DUSE_SPHINX=OFF"
+        fi
         if [[ $k == "otmixmod" ]]; then
             CMAKE_EXTRA_OPTIONS+=" -DBUILD_DOC=OFF"
             CMAKE_EXTRA_OPTIONS+=" -DSOURCEFILES=$SOURCE_DIR/$k-${OTC[$k]}"
@@ -163,9 +167,9 @@ if [[ -d "$SOURCE_DIR/otfftw-0.11" ]]; then
             CMAKE_EXTRA_OPTIONS+=" -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON"
             CMAKE_EXTRA_OPTIONS+=" -DUSE_SPHINX=OFF"
         elif  [[ $k == "otfftw" ]]; then
-            CMAKE_EXTRA_OPTIONS+=" -DBUILD_DOC=OFF"  # needs extra latex modules on CentOS 7
+            CMAKE_EXTRA_OPTIONS+=" -DBUILD_DOC=OFF"
         elif  [[ $k == "otpmml" ]]; then
-            CMAKE_EXTRA_OPTIONS+=" -DBUILD_DOC=OFF"  # needs extra latex modules on CentOS 7
+            CMAKE_EXTRA_OPTIONS+=" -DBUILD_DOC=OFF"
         fi
 
         echo
index 4cff406f9b7b5023c097f265ce3f86cb2cd53644..65b50c070672e147df5c1c8a11d32f7ebe3400df 100644 (file)
@@ -1,6 +1,6 @@
 default :
 {
-    name : "OT"
+    name : "openturns"
     build_source : "script"
     compil_script :  $name + $VARS.scriptExtension
     get_source : "archive"