whizard: add a dependency on ghostscript and fix +openmp (#44414)
This commit is contained in:
parent
5d8beaf0ed
commit
8c84c5ff66
@ -80,6 +80,7 @@ class Whizard(AutotoolsPackage):
|
|||||||
when="+openloops",
|
when="+openloops",
|
||||||
)
|
)
|
||||||
depends_on("texlive", when="+latex")
|
depends_on("texlive", when="+latex")
|
||||||
|
depends_on("ghostscript", when="+latex")
|
||||||
depends_on("zlib-api")
|
depends_on("zlib-api")
|
||||||
|
|
||||||
# Fix for https://github.com/key4hep/key4hep-spack/issues/71
|
# Fix for https://github.com/key4hep/key4hep-spack/issues/71
|
||||||
@ -159,8 +160,8 @@ def configure_args(self):
|
|||||||
|
|
||||||
if "+openloops" in spec:
|
if "+openloops" in spec:
|
||||||
args.append(f"--with-openloops={spec['openloops'].prefix}")
|
args.append(f"--with-openloops={spec['openloops'].prefix}")
|
||||||
if "+openmp" not in spec:
|
if "+openmp" in spec:
|
||||||
args.append("--disable-openmp")
|
args.append("--enable-fc-openmp")
|
||||||
return args
|
return args
|
||||||
|
|
||||||
def url_for_version(self, version):
|
def url_for_version(self, version):
|
||||||
|
Loading…
Reference in New Issue
Block a user