20 compatibility|test-compatibility)
21 ADD_COMPATIBILITY_TESTS=TRUE
34 ## Preserve PTHONPATH in order to avoid problems with Sphinx on Fedora26 because of Pigments in ParaView
35 export PYTHONPATH_OLD=$PYTHONPATH
38 if [[ ${OS_NAME} = Fedora26-64 ]]
40 export PYTHONPATH=$PYTHONPATH_OLD
44 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}"
45 CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=${USE_TEST_COVERAGE:-OFF}"
46 CMAKE_ARGS="${CMAKE_ARGS} -DADD_MODELS_TESTS=${ADD_MODELS_TESTS:-FALSE}"
47 CMAKE_ARGS="${CMAKE_ARGS} -DADD_COMPATIBILITY_TESTS=${ADD_COMPATIBILITY_TESTS:-FALSE}"
48 CMAKE_ARGS="${CMAKE_ARGS} -DADD_HDF_TESTS=${ADD_HDF_TESTS:-FALSE}"
49 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${SHAPER_ROOT_DIR}"
50 CMAKE_ARGS="${CMAKE_ARGS} ${SOURCES_DIR}"
57 cmake -G "Unix Makefiles" ${CMAKE_ARGS}
58 make -j$(nproc) install