From ee02623171475df22be8d70ed2075cadff0c4a93 Mon Sep 17 00:00:00 2001 From: Graeme A Stewart Date: Wed, 24 Aug 2022 15:58:48 +0200 Subject: [PATCH] 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 --- var/spack/repos/builtin/packages/whizard/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/whizard/package.py b/var/spack/repos/builtin/packages/whizard/package.py index 016dda23f99..9faf3d7fc5e 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 @@ def setup_build_environment(self, env): 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"),