[@spackbot] updating style on behalf of wdconinc

This commit is contained in:
wdconinc 2025-02-03 02:44:08 +00:00 committed by Wouter Deconinck
parent 0d51f7c78c
commit 03dce5685b

View File

@ -53,10 +53,12 @@ def setup_build_environment(self, env: EnvironmentModifications) -> None:
env.set("PROF_VERSION", self.spec.version)
@run_before("install")
def configure(self):
def configure(self):
if self.spec.satisfies("@2.5.0:"):
with working_dir(self.stage.source_path):
Executable("./configure")(f"--prefix={self.prefix}", f"--with-eigen={self.spec['eigen'].prefix}")
Executable("./configure")(
f"--prefix={self.prefix}", f"--with-eigen={self.spec['eigen'].prefix}"
)
def install(self, spec, prefix):
with working_dir(self.stage.source_path):