summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPaul Henning <40867327+pjh40@users.noreply.github.com>2021-06-22 00:36:28 -0600
committerGitHub <noreply@github.com>2021-06-21 23:36:28 -0700
commit3039237a0e7cee898d85a33b13ed6d5ab712b3f3 (patch)
treee3cb7689eede8de705f744aac9f422f81f09b3fe /README.md
parent5e48d2c16fbec95b200c28a1c02110dbd4feb3f6 (diff)
downloadspack-3039237a0e7cee898d85a33b13ed6d5ab712b3f3.tar.gz
spack-3039237a0e7cee898d85a33b13ed6d5ab712b3f3.tar.bz2
spack-3039237a0e7cee898d85a33b13ed6d5ab712b3f3.tar.xz
spack-3039237a0e7cee898d85a33b13ed6d5ab712b3f3.zip
hdf5: fix compiler detection in flag_handler (#24451)
The original implementation of `flag_handler` searched the `self.compiler.cc` string for `clang` or `gcc` in order to add a flag for those compilers. This approach fails when using a spack-installed compiler that was itself built with gcc or clang, as those strings will appear in the fully-qualified compiler executable paths. This commit switches to searching for `%gcc` or `%clang` in `self.spec`. Co-authored-by: Paul Henning <phenning@lanl.gov>
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions