-
Notifications
You must be signed in to change notification settings - Fork 2
Ensure lto toolchain consistency by forcing cmake to use llvm-ar #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
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