diff options
author | Scott Wittenburg <scott.wittenburg@kitware.com> | 2020-12-18 03:05:06 -0700 |
---|---|---|
committer | Tamara Dahlgren <dahlgren1@llnl.gov> | 2021-02-17 17:07:27 -0800 |
commit | 18c5f10ae75e80880189d441b7aad6721c566761 (patch) | |
tree | 46815082fa0fc9ad257513d47f2403c3aa3104f3 /share | |
parent | d82d2bb2db6bc6ee5349d5efeb93d4d3e76a56ee (diff) | |
download | spack-18c5f10ae75e80880189d441b7aad6721c566761.tar.gz spack-18c5f10ae75e80880189d441b7aad6721c566761.tar.bz2 spack-18c5f10ae75e80880189d441b7aad6721c566761.tar.xz spack-18c5f10ae75e80880189d441b7aad6721c566761.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 'share')
0 files changed, 0 insertions, 0 deletions