diff --git a/lib/spack/spack/ci.py b/lib/spack/spack/ci.py index bdad3a242e..7d81313051 100644 --- a/lib/spack/spack/ci.py +++ b/lib/spack/spack/ci.py @@ -507,7 +507,7 @@ def format_job_needs(phase_name, strip_compilers, dep_jobs, 'job': get_job_name(phase_name, strip_compilers, dep_job, - osname, + dep_job.architecture, build_group), 'artifacts': enable_artifacts_buildcache, })