diff options
author | Graeme A Stewart <graeme.andrew.stewart@cern.ch> | 2022-08-24 15:58:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-24 06:58:48 -0700 |
commit | ee02623171475df22be8d70ed2075cadff0c4a93 (patch) | |
tree | 9cfd953bc95643309cb6050bc12b44e69cc8853c | |
parent | 6fa6b8a9031b1c19d471b415bbd2594379a9750e (diff) | |
download | spack-ee02623171475df22be8d70ed2075cadff0c4a93.tar.gz spack-ee02623171475df22be8d70ed2075cadff0c4a93.tar.bz2 spack-ee02623171475df22be8d70ed2075cadff0c4a93.tar.xz spack-ee02623171475df22be8d70ed2075cadff0c4a93.zip |
whizard: Fix passing of build options, update versions (#32326)
* whizard: Fix passing of build options, update versions
The dependency of whizard on libtirpc is now correctly passed down as
an autotools option.
Update known versions of package with 3.0.2 and 3.0.3.
* Express path to headers via spec object methods
-rw-r--r-- | var/spack/repos/builtin/packages/whizard/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/whizard/package.py b/var/spack/repos/builtin/packages/whizard/package.py index 016dda23f9..9faf3d7fc5 100644 --- a/var/spack/repos/builtin/packages/whizard/package.py +++ b/var/spack/repos/builtin/packages/whizard/package.py @@ -20,6 +20,8 @@ class Whizard(AutotoolsPackage): maintainers = ["vvolkl"] version("master", branch="master") + version("3.0.3", sha256="20f2269d302fc162a6aed8e781b504ba5112ef0711c078cdb08b293059ed67cf") + version("3.0.2", sha256="f1db92cd95a0281f6afbf4ac32ab027670cb97a57ad8f5139c0d1f61593d66ec") version("3.0.1", sha256="1463abd6c50ffe72029abc6f5a7d28ec63013852bfe5914cb464b58202c1437c") version( "3.0.0_alpha", sha256="4636e5a10350bb67ccc98cd105bc891ea04f3393c2420f81be3d21240be20009" @@ -100,6 +102,8 @@ class Whizard(AutotoolsPackage): def configure_args(self): spec = self.spec args = [ + "TIRPC_CFLAGS=-I%s" % spec["libtirpc"].prefix.include.tirpc, + "TIRPC_LIBS=-ltirpc", "--enable-hepmc=%s" % ("no" if "hepmc=off" in spec else "yes"), "--enable-fastjet=%s" % ("yes" if "+fastjet" in spec else "no"), "--enable-pythia8=%s" % ("yes" if "+pythia8" in spec else "no"), |