diff options
author | Scott Wittenburg <scott.wittenburg@kitware.com> | 2020-12-18 03:05:06 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 02:05:06 -0800 |
commit | 594512bdb350ef548e3e3d6027ec8cceb475dd60 (patch) | |
tree | 1d85b57c45f4344520cd4bda725397718f47c06b /var | |
parent | 13e4d9ee3a7eb324db6377e8f4cebb42285f7312 (diff) | |
download | spack-594512bdb350ef548e3e3d6027ec8cceb475dd60.tar.gz spack-594512bdb350ef548e3e3d6027ec8cceb475dd60.tar.bz2 spack-594512bdb350ef548e3e3d6027ec8cceb475dd60.tar.xz spack-594512bdb350ef548e3e3d6027ec8cceb475dd60.zip |
ci: fixes for compiler bootstrapping (#17563)
This PR addresses a number of issues related to compiler bootstrapping.
Specifically:
1. Collect compilers to be bootstrapped while queueing in installer
Compiler tasks currently have an incomplete list in their task.dependents,
making those packages fail to install as they think they have not all their
dependencies installed. This PR collects the dependents and sets them on
compiler tasks.
2. allow boostrapped compilers to back off target
Bootstrapped compilers may be built with a compiler that doesn't support
the target used by the rest of the spec. Allow them to build with less
aggressive target optimization settings.
3. Support for target ranges
Backing off the target necessitates computing target ranges, so make Spack
handle those properly. Notably, this adds an intersection method for target
ranges and fixes the way ranges are satisfied and constrained on Spec objects.
This PR also:
- adds testing
- improves concretizer handling of target ranges
Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
Co-authored-by: Gregory Becker <becker33@llnl.gov>
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions