spack/.github/workflows
Massimiliano Culpo 2079b888c8
Remove the old concretizer (#45215)
The old concretizer is still used to bootstrap clingo from source. If we switch to a DAG model
where compilers are treated as nodes, we need to either:

1. fix the old concretizer to support this (which is a lot of work and possibly research), or
2. bootstrap `clingo` without the old concretizer.

This PR takes the second approach and gets rid of the old concretizer code. To bootstrap
`clingo`, we store some concrete spec prototypes as JSON, select one according to the
coarse-grained system architecture, and tweak them according to the current host.

The old concretizer and related dead code are removed.  In particular, this removes
`Spec.normalize()` and related methods, which were used in many unit-tests to set
up the test context. The tests have been updated not to use `normalize()`.

- [x] Bootstrap clingo concretization based on a JSON file
- [x] Bootstrap clingo *before* patchelf
- [x] Remove any use of the old concretizer, including:
      * Remove only_clingo and only_original fixtures
      * Remove _old_concretize and _new_concretize
      * Remove _concretize_together_old
      * Remove _concretize_together_new
      * Remove any use of `SPACK_TEST_SOLVER`
      * Simplify CI jobs
- [x] ensure bootstrapping `clingo` works on on Darwin and Windows
- [x] Raise an intelligible error when a compiler is missing
- [x] Ensure bootstrapping works on FreeBSD
- [x] remove normalize and related methods

Signed-off-by: Todd Gamblin <tgamblin@llnl.gov>
2024-08-10 16:12:27 -07:00
..
bin Improve organization of CI workflow scripts and pip requirements (#45037) 2024-07-09 04:46:09 +02:00
requirements/style build(deps): bump flake8 in /.github/workflows/requirements/style (#45587) 2024-08-06 07:09:18 +02:00
audit.yaml add spack audit configs to ci 2024-07-29 01:30:14 -07:00
bootstrap.yml bootstrap ci: add exit code validation for windows (#45221) 2024-07-12 23:07:45 -06:00
build-containers.yml build(deps): bump docker/build-push-action from 6.5.0 to 6.6.1 (#45623) 2024-08-08 07:26:50 +02:00
ci.yaml build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#44693) 2024-07-11 15:32:04 +02:00
nightly-win-builds.yml build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#44693) 2024-07-11 15:32:04 +02:00
unit_tests.yaml Remove the old concretizer (#45215) 2024-08-10 16:12:27 -07:00
valid-style.yml build(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#44693) 2024-07-11 15:32:04 +02:00