Skip to content
Snippets Groups Projects
Commit 96ffbe89 authored by Wouter Deconinck's avatar Wouter Deconinck
Browse files

fix: arch -> target

parent 5ad0440a
No related branches found
No related tags found
No related merge requests found
...@@ -44,12 +44,12 @@ RUN git clone https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} \ ...@@ -44,12 +44,12 @@ RUN git clone https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} \
SHELL ["docker-shell"] SHELL ["docker-shell"]
ARG jobs=64 ARG jobs=64
RUN declare -A arch=( \ RUN declare -A target=( \
["linux/amd64"]="x86_64_v3" \ ["linux/amd64"]="x86_64" \
["linux/arm64"]="aarch64" \ ["linux/arm64"]="aarch64" \
) \ ) \
&& arch=${arch[${TARGETPLATFORM}]} \ && target=${target[${TARGETPLATFORM}]} \
&& spack config --scope site add "packages:all:require:[arch=${arch}]" \ && spack config --scope site add "packages:all:require:[target=${target}]" \
&& spack config blame packages \ && spack config blame packages \
&& spack config --scope site add "config:suppress_gpg_warnings:true" \ && spack config --scope site add "config:suppress_gpg_warnings:true" \
&& spack config --scope site add "config:build_jobs:${jobs}" \ && spack config --scope site add "config:build_jobs:${jobs}" \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment