@@ -111,30 +111,30 @@ rm -rf build
111111
112112# CMake configuration:
113113CMAKE_ARGS=(
114- -D " CMAKE_INSTALL_PREFIX=$( pwd) /test-install/"
115- # Enable all backends
116- -D AL_BACKEND_HDF5=ON
117- -D AL_BACKEND_MDSPLUS=ON
118- -D AL_BACKEND_UDA=ON
119- # Build MDSplus models
120- -D AL_BUILD_MDSPLUS_MODELS=ON
121- # Download dependencies from HTTPS (using an access token):
122- -D AL_DOWNLOAD_DEPENDENCIES=ON
123- -D AL_CORE_GIT_REPOSITORY=https://git.iter.org/scm/imas/al-core.git
124- -D AL_PLUGINS_GIT_REPOSITORY=https://git.iter.org/scm/imas/al-plugins.git
125- -D DD_GIT_REPOSITORY=https://git.iter.org/scm/imas/data-dictionary.git
126- # DD version: can be set with DD_VERSION env variable, otherwise use latest main
127- -D DD_VERSION=${DD_VERSION:- main}
128- # AL-Core version: can be set with AL_CORE_VERSION env variable, otherwise use latest main
129- -D AL_CORE_VERSION=${AL_CORE_VERSION:- main}
130- # HLI options
131- -D AL_EXAMPLES=ON
132- -D AL_TESTS=ON
133- -D AL_PLUGINS=ON
134- # Build documentation
135- -D AL_HLI_DOCS=ON
136- # Work around Boost linker issues on 2020b toolchain
137- -D Boost_NO_BOOST_CMAKE=ON
114+ -D " CMAKE_INSTALL_PREFIX=$( pwd) /test-install/"
115+ # Enable all backends
116+ -D AL_BACKEND_HDF5=${AL_BACKEND_HDF5 :- ON}
117+ -D AL_BACKEND_MDSPLUS=${AL_BACKEND_MDSPLUS :- ON}
118+ -D AL_BACKEND_UDA=${AL_BACKEND_UDA :- ON}
119+ # Build MDSplus models
120+ -D AL_BUILD_MDSPLUS_MODELS=${AL_BUILD_MDSPLUS_MODELS :- ON}
121+ # Download dependencies from HTTPS (using an access token):
122+ -D AL_DOWNLOAD_DEPENDENCIES=${AL_DOWNLOAD_DEPENDENCIES :- ON}
123+ -D AL_CORE_GIT_REPOSITORY=${AL_CORE_GIT_REPOSITORY :- https:// git.iter.org/ scm/ imas/ al-core.git}
124+ -D AL_PLUGINS_GIT_REPOSITORY=${AL_PLUGINS_GIT_REPOSITORY :- https:// git.iter.org/ scm/ imas/ al-plugins.git}
125+ -D DD_GIT_REPOSITORY=${DD_GIT_REPOSITORY :- https:// git.iter.org/ scm/ imas/ data-dictionary.git}
126+ # DD version: can be set with DD_VERSION env variable, otherwise use latest main
127+ -D DD_VERSION=${DD_VERSION:- main}
128+ # AL-Core version: can be set with AL_CORE_VERSION env variable, otherwise use latest main
129+ -D AL_CORE_VERSION=${AL_CORE_VERSION:- main}
130+ # HLI options
131+ -D AL_EXAMPLES=${AL_EXAMPLES :- ON}
132+ -D AL_TESTS=${AL_TESTS :- ON}
133+ -D AL_PLUGINS=${AL_PLUGINS :- ON}
134+ # Build documentation
135+ -D AL_HLI_DOCS=${AL_HLI_DOCS :- ON}
136+ # Work around Boost linker issues on 2020b toolchain
137+ -D Boost_NO_BOOST_CMAKE=${Boost_NO_BOOST_CMAKE :- ON}
138138)
139139# Note: compilers are set as environment variables in the Bamboo config
140140cmake -B build " ${CMAKE_ARGS[@]} "
0 commit comments