From 8b1625b6bb9e33047926b8fb405b26cce711f81b Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 7 Mar 2022 11:22:38 +0100 Subject: [PATCH] CentOS 8: fails to build documentation of OT --- products/compil_scripts/openturns-1.17.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/products/compil_scripts/openturns-1.17.sh b/products/compil_scripts/openturns-1.17.sh index 5d45c4e..efda7e1 100755 --- a/products/compil_scripts/openturns-1.17.sh +++ b/products/compil_scripts/openturns-1.17.sh @@ -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 -- 2.39.2