26 ## Preserve PTHONPATH in order to avoid problems with Sphinx on Fedora26 because of Pigments in ParaView
27 export PYTHONPATH_OLD=$PYTHONPATH
30 if [[ ${OS_NAME} = Fedora26-64 ]]
32 export PYTHONPATH=$PYTHONPATH_OLD
36 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}"
37 CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=${USE_TEST_COVERAGE:-OFF}"
38 CMAKE_ARGS="${CMAKE_ARGS} -DADD_MODELS_TESTS=${ADD_MODELS_TESTS:-FALSE}"
39 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${SHAPER_ROOT_DIR}"
40 CMAKE_ARGS="${CMAKE_ARGS} ${SOURCES_DIR}"
47 cmake -G "Unix Makefiles" ${CMAKE_ARGS}
48 make -j$(nproc) install