Skip to content

Commit

Permalink
epic-eic: ensure fmt libs are found in LD_LIBRARY_PATH before 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
wdconinc committed Apr 21, 2024
1 parent c83030f commit b1cabf7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/epic-eic/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ def postinstall(self, spec, prefix):
os.environ["LD_LIBRARY_PATH"] += os.pathsep + self.prefix.lib
if spec.satisfies("@:24.03"): # no rpath linking until 24.04
os.environ["LD_LIBRARY_PATH"] += os.pathsep + self.spec["root"].prefix.lib.root
os.environ["LD_LIBRARY_PATH"] += os.pathsep + self.spec["fmt"].prefix.lib
os.environ["DETECTOR_PATH"] = detector_path
checkGeometry = Executable(join_path(spec['dd4hep'].prefix.bin, 'checkGeometry'))
checkGeometry('-c', join_path(detector_path, spec.variants["artifacts"].value + ".xml"))
Expand Down

0 comments on commit b1cabf7

Please sign in to comment.