Conversation
e9528d3 to
450839c
Compare
|
The reason this is failing is because it is concretizing to But I don't understand why it is trying to use If I try locally with my own Spack v1.1 instance and a copy of the failing spack:
specs:
# *_compiler is defined in the .github/build-ci/data/standard.json file
- access-mocsy@git.450839c0ebf57e912c25c0cf7c63432d36fec552=stable
packages:
gcc:
require:
- '@13.2.0'
all:
require:
- '%access_gcc'
- 'target=x86_64'
concretizer:
unify: false
view: falseconcretizes as: ==> Starting concretization
==> Concretized 1 spec:
- 7rql3jw access-mocsy@git.450839c0ebf57e912c25c0cf7c63432d36fec552=stable~ipo~shared build_system=cmake build_type=RelWithDebInfo commit=450839c0ebf57e912c25c0cf7c63432d36fec552 generator=make precision=2 platform=linux os=rocky8 target=x86_64 %c,fortran=gcc@13.2.0
[e] c6epq3u ^cmake@3.31.6~doc+ncurses+ownlibs~qtgui build_system=generic build_type=Release platform=linux os=rocky8 target=x86_64
- spro2dg ^compiler-wrapper@1.0 build_system=generic platform=linux os=rocky8 target=x86_64
[e] 4tmoi6d ^gcc@13.2.0+binutils+bootstrap~graphite+libsanitizer~mold~nvptx~piclibs~profiled~strip build_system=autotools build_type=RelWithDebInfo languages:='c,c++,fortran' platform=linux os=rocky8 target=x86_64
- kx2mogc ^gcc-runtime@13.2.0 build_system=generic platform=linux os=rocky8 target=x86_64
[e] vuczjrb ^glibc@2.28 build_system=autotools platform=linux os=rocky8 target=x86_64
- bfssup2 ^gmake@4.4.1~guile build_system=generic platform=linux os=rocky8 target=x86_64 %c=gcc@13.2.0
[e] q3qnxmz ^openmpi@4.1.7+atomics~cuda~cxx~cxx_exceptions~debug+fortran~gpfs~internal-hwloc~internal-libevent~internal-pmix~ipv6~java~lustre~memchecker~openshmem~orterunprefix~rocm+romio+rsh~static~two_level_namespace+vt+wrapper-rpath build_system=autotools fabrics:=none romio-filesystem:=none schedulers:=none platform=linux os=rocky8 target=x86_64What am I missing? |
|
Note the intel and oneapi builds are also incorrectly using |
References issue ACCESS-NRI/build-ci#231 and PR ACCESS-NRI/build-ci#253
References project Spack `0.22` to `1.0` Migration
Important
This PR is a major update to the infrastructure. See below for the prerequisites for this repository to be able to merge this PR.
Important
This major version change marks the end of major infrastructure updates for CI using
spack < 1.0. They will still get bug fixes and non-breaking features if required.If you want to deploy to instances of
spack < 1.0, you must usebuild-ci v2.If you want to deploy to instances of
spack >= 1.0, you must usebuild-ci v3.Background
We are looking to transition
build-citov3! This is due to a migration tospack v1.X, fromv0.X, which offers many bug fixes, features, and optimisations.One of these changes is the splitting of spacks core codebase from the builtin spack-packages repository, which means that we have another lever to tweak for our builds: the version of
spack,spack-config, ourspack-packagesand the (new!) builtinspack-packages.Since we want to leave open the possibility of forking the builtin
spack-packages, we have also decided to renameACCESS-NRI/spack-packagestoACCESS-NRI/access-spack-packages. See ACCESS-NRI/access-spack-packages#295 for more info.Therefore this is a major version update, as there are the following changes to the inputs (and analogous changes to the workflow outputs):
spack-packages-refinput, which defaulted tomain(in future,api-v1).access-spack-packages-refinput, which defaults to theapi-v2branch.builtin-spack-packages-refinput, which defaults to themainbranch.This means that:
container-image-version: :rocky-0.22-*, orspack-ref<releases/1.0, you must stay onv2due to the input changes.container-image-version: :rocky-1.*-*, orspack-ref>=releases/1.0, you must migrate tov3due to the input changes.It is possible to test across these versions of
spackif required, via a mix of workflow versions. Ask @CodeGat if you need this functionality.Features
The main new features include:
spack-packagesrepository, as well as our ownaccess-spack-packagesrepository. All of the bugfixes, features and optimisations added since0.22are available to us for future inclusion intobuild-ci.Prerequisites for Merging
build-cientrypoints tov3(this PR!)builtin-spack-packages-refis requiredaccess-spack-packages-refis appropriatespack v1overspack v0.22