diff options
author | Erik Schnetter <schnetter@gmail.com> | 2017-03-11 13:50:54 -0500 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2017-03-11 12:50:54 -0600 |
commit | 7e3eaba89968ac95d7d376b8444786de9ebab834 (patch) | |
tree | 5bec9ecd84ab1290fa74b0c41b43606e32adaaa1 /var | |
parent | 093ffdfa45bdbdddab6be5597c6b04d4bee106a7 (diff) | |
download | spack-7e3eaba89968ac95d7d376b8444786de9ebab834.tar.gz spack-7e3eaba89968ac95d7d376b8444786de9ebab834.tar.bz2 spack-7e3eaba89968ac95d7d376b8444786de9ebab834.tar.xz spack-7e3eaba89968ac95d7d376b8444786de9ebab834.zip |
hdf5-blosc: Update compiler selection in self-test (#3417)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hdf5-blosc/package.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5-blosc/package.py b/var/spack/repos/builtin/packages/hdf5-blosc/package.py index 088c1e9d9b..4afce02f70 100644 --- a/var/spack/repos/builtin/packages/hdf5-blosc/package.py +++ b/var/spack/repos/builtin/packages/hdf5-blosc/package.py @@ -174,9 +174,9 @@ Done. with open("check.c", "w") as f: f.write(source) if "+mpi" in spec["hdf5"]: - cc = which("mpicc") + cc = Executable(spec["mpi"].mpicc) else: - cc = which("cc") + cc = Executable(self.compiler.cc) # TODO: Automate these path and library settings cc("-c", "-I%s" % spec["hdf5"].prefix.include, "check.c") cc("-o", "check", "check.o", |