pythia8: correct with_or_without prefix for +openmpi (#48131)
* pythia8: correct with_or_without prefix for +openmpi * pythia8: fix style * pythia8: fix style
This commit is contained in:
parent
0c6f0c090d
commit
08c53fa405
@ -179,7 +179,9 @@ def configure_args(self):
|
||||
args.append("--with-yoda=" + self.spec["yoda"].prefix)
|
||||
|
||||
args += self.with_or_without("python", activation_value="prefix")
|
||||
args += self.with_or_without("openmp", activation_value="prefix", variant="openmpi")
|
||||
args += self.with_or_without(
|
||||
"openmp", activation_value=lambda x: self.spec["openmpi"].prefix, variant="openmpi"
|
||||
)
|
||||
args += self.with_or_without("mpich", activation_value="prefix")
|
||||
args += self.with_or_without("hdf5", activation_value="prefix")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user