Skip to content

Provide commit SHA for Spack install - #3913

Merged
garth-wells merged 33 commits into
mainfrom
garth/spack-packages-main
Sep 12, 2025
Merged

Provide commit SHA for Spack install#3913
garth-wells merged 33 commits into
mainfrom
garth/spack-packages-main

Conversation

@garth-wells

@garth-wells garth-wells commented Sep 9, 2025

Copy link
Copy Markdown
Member

When using spack develop to point Spack to source code, Spack cannot guarantee 'binary provenance' and associate a git hash. This can cause caching problems because a build doesn't have an associated hash.

This change set the DOLFINx commit hash via the commit variant.

This change doesn't extend to the dependent packages (Basix, FFCx, UFL). We could easily fix this if we insist on Basix, FFCx, UFL from branches on the main repo.

@garth-wells garth-wells added the ci Continuous Integration label Sep 9, 2025
@garth-wells garth-wells reopened this Sep 12, 2025
@garth-wells
garth-wells marked this pull request as ready for review September 12, 2025 10:43
@garth-wells garth-wells changed the title Use main Spack packages repo for CI Provide commit SHA for Spack install Sep 12, 2025
@garth-wells
garth-wells added this pull request to the merge queue Sep 12, 2025
Merged via the queue into main with commit d6a3104 Sep 12, 2025
20 checks passed
@garth-wells
garth-wells deleted the garth/spack-packages-main branch September 12, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous Integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant