Skip to content
Snippets Groups Projects
  1. Jul 04, 2024
  2. Apr 15, 2024
    • Eleni Mathioulaki's avatar
      update DAG hash calculation to include test dependencies · 01330d63
      Eleni Mathioulaki authored
      Spack's spec hashing mechanism considers only build, link, and run dependencies, overlooking test dependencies. As a result, although Spack correctly concretizes environments when `--test root` is specified (including test dependencies), the resulting lockfile dict only includes the deps whose types affect the hash (build/link/run) and when the env is loaded, test dependencies are not, and tests fail. The workaround suggested in the Spack issue [here](https://github.com/spack/spack/issues/29447) is deleting the lockfile every time and allowing `spack install --test root` to recreate it. By extending Spack's default hash type to include test dependencies, the need for this workaround is eliminated and concretization and installation can be split into separate steps.
  3. Jan 12, 2024
  4. Jan 11, 2024
  5. Jan 10, 2024
  6. Nov 11, 2023