From 96ffbe89102953ea815ae1628cd2ccbf001a861d Mon Sep 17 00:00:00 2001 From: Wouter Deconinck <wdconinc@gmail.com> Date: Sun, 30 Apr 2023 17:44:47 +0000 Subject: [PATCH] fix: arch -> target --- containers/jug/dev.Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/containers/jug/dev.Dockerfile b/containers/jug/dev.Dockerfile index ba6dbaa90..662765722 100644 --- a/containers/jug/dev.Dockerfile +++ b/containers/jug/dev.Dockerfile @@ -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}" \ -- GitLab