Skip to content
Snippets Groups Projects
Commit 49d3ff12 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

Build the beamline option

parent 36d7630f
Branches
Tags
1 merge request!76Build the beamline option
...@@ -72,6 +72,13 @@ if [ "${BEAMLINE}" ]; then ...@@ -72,6 +72,13 @@ if [ "${BEAMLINE}" ]; then
ln -s -f ${DETECTOR_PREFIX}/${BEAMLINE}/${BEAMLINE} ${DETECTOR_PATH}/${BEAMLINE} ln -s -f ${DETECTOR_PREFIX}/${BEAMLINE}/${BEAMLINE} ${DETECTOR_PATH}/${BEAMLINE}
[[ "$?" == "0" ]] || exit 1 [[ "$?" == "0" ]] || exit 1
popd popd
mkdir -p ${DETECTOR_PREFIX}/${BEAMLINE}_build
pushd ${DETECTOR_PREFIX}/${BEAMLINE}_build
cmake ${DETECTOR_PATH} -DCMAKE_INSTALL_PREFIX=${LOCAL_PREFIX} -DCMAKE_CXX_STANDARD=17 && make -j$(($(nproc)/4+1)) install || exit 1
popd
rm -rf ${DETECTOR_PREFIX}/${BEAMLINE}_build
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment