Skip to content
Snippets Groups Projects
Unverified Commit 10f75ada authored by Gigg, Martyn Anthony's avatar Gigg, Martyn Anthony Committed by GitHub
Browse files

Use devtoolset-7 on RHEL for doctests

parent fcb44382
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,16 @@ else
fi
$CMAKE_EXE --version
###############################################################################
# System discovery
###############################################################################
# Setup software collections on rhel7 to allow using gcc7
if [[ ${NODE_LABELS} == *rhel7* ]] || [[ ${NODE_LABELS} == *centos7* ]] || [[ ${NODE_LABELS} == *scilin7* ]]; then
SCL_ENABLE="scl enable devtoolset-7"
else
SCL_ENABLE="eval"
fi
#####################################################################################
# Find and install package
#####################################################################################
......@@ -49,7 +59,7 @@ cd $BUILD_DIR
# CMake configuration. We only need a minimal configuration as we will actually
# just run from the package
###############################################################################
${CMAKE_EXE} -DMANTID_DATA_STORE=${MANTID_DATA_STORE} ..
$SCL_ENABLE "${CMAKE_EXE} -DMANTID_DATA_STORE=${MANTID_DATA_STORE} .."
###############################################################################
# Build step
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment