Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions scripts/gitlab/build_and_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ spack_debug=${SPACK_DEBUG:-false}
debug_mode=${DEBUG_MODE:-false}
push_to_registry=${PUSH_TO_REGISTRY:-true}

camp_version=${UPDATE_CAMP:-""}

# Map CPU core allocations
declare -A core_counts=(["lassen"]=40 ["poodle"]=28 ["dane"]=28 ["matrix"]=28 ["corona"]=32 ["rzansel"]=48 ["tioga"]=32 ["tuolumne"]=48)

Expand Down Expand Up @@ -113,6 +115,15 @@ then
exit 1
fi

extra_deps=""

if [[ -n ${camp_version} ]]
then
extra_deps="${extra_deps} ^camp@git.${camp_version}=main"
fi

[[ -n ${extra_deps} ]] && spec="${spec} ${extra_deps}"

prefix_opt="--prefix=${prefix}"

# We force Spack to put all generated files (cache and configuration of
Expand Down
Loading