diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2021-09-15 07:44:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-14 22:44:16 -0700 |
commit | c52426ea7a17a60dd1f4e6d8aeaa4ead157badc7 (patch) | |
tree | 31a0b0feefa1956782be89900838183f299b5491 /.github/workflows | |
parent | 0d0d438c119a770ba1d9db3126df1993b70448ca (diff) | |
download | spack-c52426ea7a17a60dd1f4e6d8aeaa4ead157badc7.tar.gz spack-c52426ea7a17a60dd1f4e6d8aeaa4ead157badc7.tar.bz2 spack-c52426ea7a17a60dd1f4e6d8aeaa4ead157badc7.tar.xz spack-c52426ea7a17a60dd1f4e6d8aeaa4ead157badc7.zip |
Make clingo the default solver (#25502)
Modifications:
- [x] Change `defaults/config.yaml`
- [x] Add a fix for bootstrapping patchelf from sources if `compilers.yaml` is empty
- [x] Make `SPACK_TEST_SOLVER=clingo` the default for unit-tests
- [x] Fix package failures in the e4s pipeline
Caveats:
1. CentOS 6 still uses the original concretizer as it can't connect to the buildcache due to issues with `ssl` (bootstrapping from sources requires a C++14 capable compiler)
1. I had to update the image tag for GitlabCI in e699f14.
1. libtool v2.4.2 has been deprecated and other packages received some update
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/unit_tests.yaml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 9fdcf4aefa..6cc63b3649 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -225,23 +225,25 @@ jobs: if: ${{ needs.changes.outputs.with_coverage == 'true' }} env: HOME: /home/spack-test + SPACK_TEST_SOLVER: original run: | whoami && echo $HOME && cd $HOME git clone https://github.com/spack/spack.git && cd spack git fetch origin ${{ github.ref }}:test-branch git checkout test-branch - share/spack/qa/run-unit-tests + bin/spack unit-test -x - name: Run unit tests (only package tests) if: ${{ needs.changes.outputs.with_coverage == 'false' }} env: HOME: /home/spack-test ONLY_PACKAGES: true + SPACK_TEST_SOLVER: original run: | whoami && echo $HOME && cd $HOME git clone https://github.com/spack/spack.git && cd spack git fetch origin ${{ github.ref }}:test-branch git checkout test-branch - share/spack/qa/run-unit-tests + bin/spack unit-test -x -m "not maybeslow" -k "package_sanity" # Test RHEL8 UBI with platform Python. This job is run # only on PRs modifying core Spack @@ -268,6 +270,7 @@ jobs: shell: runuser -u spack-test -- bash {0} run: | source share/spack/setup-env.sh + spack -d solve zlib spack unit-test -k 'not cvs and not svn and not hg' -x --verbose # Test for the clingo based solver (using clingo-cffi) clingo-cffi: |