Skip to content

Commit 2bb0f79

Browse files
pass c++ standard to cmake
1 parent 54368ef commit 2bb0f79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ci/build_and_test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ MODULES=(
6161
Python/3.11.5-GCCcore-13.2.0
6262
libxml2/2.11.5-GCCcore-13.2.0 # AL-Core
6363
MDSplus/7.132.0-GCCcore-13.2.0 # backend
64-
UDA/2.7.5-GCC-13.2.0 # backend
64+
UDA/2.8.1-GCC-13.2.0 # backend
6565
Python/3.11.5-GCCcore-13.2.0 # documentation
6666
)
6767
;;&
@@ -135,6 +135,7 @@ CMAKE_ARGS=(
135135
-D AL_HLI_DOCS=${AL_HLI_DOCS:-ON}
136136
# Work around Boost linker issues on 2020b toolchain
137137
-D Boost_NO_BOOST_CMAKE=${Boost_NO_BOOST_CMAKE:-ON}
138+
-D CMAKE_CXX_STANDARD=${CMAKE_CXX_STANDARD:-17}
138139
)
139140
# Note: compilers are set as environment variables in the Bamboo config
140141
cmake -B build "${CMAKE_ARGS[@]}"

0 commit comments

Comments
 (0)