diff options
author | Thomas Madlener <thomas.madlener@desy.de> | 2023-10-05 17:53:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-05 08:53:56 -0700 |
commit | 9e9653ac58b1290d05eab834f27773220655c2b4 (patch) | |
tree | 2b00acaa98de595b5a5178bd6f20e875615a881c /var | |
parent | bec873aec97c8c2f77353a2bc3b84d00335bf849 (diff) | |
download | spack-9e9653ac58b1290d05eab834f27773220655c2b4.tar.gz spack-9e9653ac58b1290d05eab834f27773220655c2b4.tar.bz2 spack-9e9653ac58b1290d05eab834f27773220655c2b4.tar.xz spack-9e9653ac58b1290d05eab834f27773220655c2b4.zip |
whizard: Make sure to detect LCIO if requested (#40316)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/whizard/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/whizard/package.py b/var/spack/repos/builtin/packages/whizard/package.py index a9ccf9de2e..3297c2eddb 100644 --- a/var/spack/repos/builtin/packages/whizard/package.py +++ b/var/spack/repos/builtin/packages/whizard/package.py @@ -103,6 +103,8 @@ class Whizard(AutotoolsPackage): # and seems incompatible with # filter_compiler_wrappers, thus the # actual compilers need to be used to build + if self.spec.satisfies("+lcio"): + env.set("LCIO", self.spec["lcio"].prefix) env.set("CC", self.compiler.cc) env.set("CXX", self.compiler.cxx) env.set("FC", self.compiler.fc) |