From: Nabil Ghodbane Date: Wed, 2 Mar 2022 15:48:07 +0000 (+0100) Subject: spns #26828: convergence EDF: CentOS 7: switch off documentation for Openturns X-Git-Tag: V9_9_0~156 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d76c5bf942b88e65be1911d89ea07afd3999a22d;p=tools%2Fsat_salome.git spns #26828: convergence EDF: CentOS 7: switch off documentation for Openturns --- diff --git a/products/compil_scripts/openturns-1.17.sh b/products/compil_scripts/openturns-1.17.sh index 42e2017..5d45c4e 100755 --- a/products/compil_scripts/openturns-1.17.sh +++ b/products/compil_scripts/openturns-1.17.sh @@ -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 diff --git a/products/openturns.pyconf b/products/openturns.pyconf index 4cff406..65b50c0 100644 --- a/products/openturns.pyconf +++ b/products/openturns.pyconf @@ -1,6 +1,6 @@ default : { - name : "OT" + name : "openturns" build_source : "script" compil_script : $name + $VARS.scriptExtension get_source : "archive"