summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorGreg Becker <becker33@llnl.gov>2024-05-23 17:13:36 -0700
committerGitHub <noreply@github.com>2024-05-24 00:13:36 +0000
commitb61bae7640c694fc82238f9bc0dc86947f837d57 (patch)
tree070cd8aa68a10a62f20a3b82a55b8acc9fa682e0 /var
parent8b7abace8b444786a4fcc62a36ff5dc34134b070 (diff)
downloadspack-b61bae7640c694fc82238f9bc0dc86947f837d57.tar.gz
spack-b61bae7640c694fc82238f9bc0dc86947f837d57.tar.bz2
spack-b61bae7640c694fc82238f9bc0dc86947f837d57.tar.xz
spack-b61bae7640c694fc82238f9bc0dc86947f837d57.zip
bugfix: external detection for compilers with os but not target (#44156)
avoid calling `spec.target` when None. When an external compiler package has an `os` set but no `target` set, Spack currently falls into a codepath that calls `spec.target` (which itself calls `spec.architecture.target.Microarchitecture`) when `spec.architecture.target` is None, throwing an error. e.g. ``` packages: gcc: externals: - spec: gcc@12.3.1 os=rhel7 prefix: /usr ``` --------- Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
Diffstat (limited to 'var')
0 files changed, 0 insertions, 0 deletions