Skip to content

Commit

Permalink
changing package file
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardhartnett committed Dec 21, 2024
1 parent fc5a725 commit 77fd1dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spack/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,12 @@ def setup_run_environment(self, env):
self.spec.variants["precision"].value if self.spec.satisfies("@3.4.6:") else ("4", "d")
)
for suffix in precisions:
lib = find_libraries("libg2_" + suffix, root=self.prefix, shared=self.spec.satisfies("+shared"), recursive=True)
lib = find_libraries(
"libg2_" + suffix,
root=self.prefix,
shared=self.spec.satisfies("+shared"),
recursive=True,
)
env.set("G2_LIB" + suffix, lib[0])
env.set("G2_INC" + suffix, join_path(self.prefix, "include_" + suffix))

Expand Down

0 comments on commit 77fd1dd

Please sign in to comment.