Base spack.includes for build-ci - #486
Conversation
spack.includes for build-cispack.includes for build-ci, updates for build-ci@v4
322b6bf to
09ea280
Compare
|
Before merging, update target to EDIT: Not required, as it is set in https://github.com/ACCESS-NRI/spack-config/blob/main/v1.1/packages.yaml#L12-L13 |
824e10c to
7506633
Compare
7506633 to
0b027b0
Compare
spack.includes for build-ci, updates for build-ci@v4spack.includes for build-ci
|
Okay, this is ready for review. I've dropped the CI commit from this PR as it will be done in #485 |
|
Hi @CodeGat , We use |
|
Drafting this to test out ACCESS-NRI/MOM6#74 (comment) |
cb5eb03 to
81e6045
Compare
|
I've got this working again, see ACCESS-NRI/MOM6#74 (comment). However, we need to double-check that we can fold all the compiler info in a single directory so we can be sure this works. Whether that be by putting compiler directives in the spec line, I dunno. But this is looking good! Might need to rename the |
|
Looks like we can fold compiler info into a single directory by using propagating toolchains in the spec line, eg. Now for some naming - for the specific configuration that is used when we are running an |
I like |
7472442 to
88f4fd1
Compare
e81d014 to
46d7c94
Compare
|
Okay this is finally ready for review! |
Added additional context to the comments in repos.yaml.
|
Hi @CodeGat , Can you please explain the choice of sub-directory names under |
|
|
Hi @CodeGat , Thanks!
For example, Have a look at
After this discussion, I think I should add a |
|
I think that looks good, too. But, should this |
|
Hi @CodeGat , Yes, that's good idea! Let's make all the |
… to include, subdir pr to local
|
Done in 56f3c9d, testing in https://github.com/ACCESS-NRI/MOM6/actions/runs/34789463977 |
4fd3a2f
4fd3a2f to
56f3c9d
Compare
aidanheerdegen
left a comment
There was a problem hiding this comment.
I'm approving again, but it seems the same as last time I approved, which is fine, just checking I am not going insane.
|
I've validated that the new Thanks everyone! |
Closes #484
Background
We are looking to remove common configuration from individual CR manifests via layered configuration via a
spack.includesection.The configuration in this PR is the top level of included configuration, with common configurations for compilers, concretizers, packages and repos. Any of the config in this repository is easily overridable at the CR level.
Note
build-ci@v4-specific CI updates for ASP will be done in #485, this PR is specifically for CRs usingbuild-ci@v4that consume these base includes, not for ASP to work withbuild-ci@v4Structure
Currently, we are looking at having a
baselevel of configuration, which contains information on compilers, packages and repos.We will also have a
prlevel of configuration (which inheritsbase), that is special, specifically for the case where we have an ASP PR that calls CRs, which then include ASP configuration - we want it to use the ASP PRs version ofaccess-spack-packages, not the defaultapi-v2.As a common entrypoint for both CR and ASP PR, we have a
cilevel of config, which makes the decision on inheritingbaseorpr(which then inheritsbase).The PR
.github/build-ci/includes/basefor config common to all compilers.github/build-ci/includes/prfor config to be used whenaccess-spack-packagesis creating PRs.github/build-ci/includes/cias a common entrypointTesting
Testing includes in ACCESS-NRI/MOM6#74