20 compatibility|test-compatibility)
21 ADD_COMPATIBILITY_TESTS=TRUE
30 ## Preserve PTHONPATH in order to avoid problems with Sphinx on Fedora26 because of Pigments in ParaView
31 export PYTHONPATH_OLD=$PYTHONPATH
34 if [[ ${OS_NAME} = Fedora26-64 ]]
36 export PYTHONPATH=$PYTHONPATH_OLD
40 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}"
41 CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=${USE_TEST_COVERAGE:-OFF}"
42 CMAKE_ARGS="${CMAKE_ARGS} -DADD_MODELS_TESTS=${ADD_MODELS_TESTS:-FALSE}"
43 CMAKE_ARGS="${CMAKE_ARGS} -DADD_COMPATIBILITY_TESTS=${ADD_COMPATIBILITY_TESTS:-FALSE}"
44 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_INSTALL_PREFIX:PATH=${SHAPER_ROOT_DIR}"
45 CMAKE_ARGS="${CMAKE_ARGS} ${SOURCES_DIR}"
52 cmake -G "Unix Makefiles" ${CMAKE_ARGS}
53 make -j$(nproc) install