From d76c5bf942b88e65be1911d89ea07afd3999a22d Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 2 Mar 2022 16:48:07 +0100 Subject: [PATCH] spns #26828: convergence EDF: CentOS 7: switch off documentation for Openturns --- products/compil_scripts/openturns-1.17.sh | 8 ++++++-- products/openturns.pyconf | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) 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" -- 2.39.2