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
This commit is part of merge request !558. Comments created here will be created in the context of that merge request.
......@@ -44,12 +44,12 @@ RUN git clone https://github.com/${SPACK_ORGREPO}.git ${SPACK_ROOT} \
SHELL ["docker-shell"]
ARG jobs=64
RUN declare -A arch=( \
["linux/amd64"]="x86_64_v3" \
RUN declare -A target=( \
["linux/amd64"]="x86_64" \
["linux/arm64"]="aarch64" \
) \
&& arch=${arch[${TARGETPLATFORM}]} \
&& spack config --scope site add "packages:all:require:[arch=${arch}]" \
&& target=${target[${TARGETPLATFORM}]} \
&& spack config --scope site add "packages:all:require:[target=${target}]" \
&& spack config blame packages \
&& spack config --scope site add "config:suppress_gpg_warnings:true" \
&& 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