Ensure lto toolchain consistency by forcing cmake to use llvm-ar#13
Ensure lto toolchain consistency by forcing cmake to use llvm-ar#13minghangli-uni wants to merge 3 commits intomainfrom
Conversation
|
More discussions can be found #ocean-seaice > Using llvm-ar with oneapi |
|
This is one commit behind main See I think that's why the CI fails? (Although not sure why it even runs !! |
2cab814 to
1a2236d
Compare
|
I am unsure about this line in the above three failed builds. Does this expect spack to match a version named in access3-share/package.py, there is only a version like |
|
We refactored the spack packages a bit to use numerical versions. The numerical versions should match the release tags in the relevant repository. Where there isn't a numerical version in the package, it can fetch directly from git with the (@git.gitref) syntax, and in that case This is explained somewhat in the access-hive docs - see https://docs.access-hive.org.au/models/run-a-model/build_a_model/#spack-version Saying that, I don't know why the CI is failing. It's not clear which requirement if causing the concretisation to fail ! |
|
It seems like removing |
|
I'm so confused, the build that worked, concretised as I thought spack was supposed to preference |
Maybe it set the RHS version based on the most recent tag before the commit ? |
|
Hi @minghangli-uni @anton-seaice , IIRC, Spack v0.22 tries to calculate a RHS based on git tags. Spack v1.0 sets the RHS to "develop". |
|
Hi @CodeGat , Can you please help @minghangli-uni with the CI related questions? |
|
Hmm. I wonder if it is because of competing requirements with If you want the spack:
specs:
- access3 @git.{{ ref }}=stable configurations={{ all_configurations }} |
Even if the gitref is a hash? (e.g. it picks a tag close or in the history of the commit specified by that hash ?) |
|
Hi @anton-seaice , My understanding is that Spack v0.22 tries to calculate a RHS, regardless of the type of gitref that is used. |
Ref ACCESS-NRI/access-spack-packages#337