Skip to content

Commit

Permalink
Merge pull request #41 from KIT-CMS/crownlib_friends_fix
Browse files Browse the repository at this point in the history
fix crownlib output and installdir naming
  • Loading branch information
nshadskiy authored May 27, 2024
2 parents 75648a3 + 31ed9da commit 5adbc88
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions processor/tasks/BuildCROWNLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,19 @@ class BuildCROWNLib(Task):
friend_name = luigi.Parameter(default="ntuples")

def output(self):
target = self.remote_target("libCROWNLIB.so")
target = self.remote_target(f"{self.friend_name}/libCROWNLIB.so")
return target

def run(self):
# get output file path
output = self.output()
# also use the tag for the local tarball creation
_install_dir = os.path.abspath(
os.path.join(str(self.install_dir), str(self.production_tag))
os.path.join(
str(self.install_dir),
str(self.production_tag),
f"crownlib_{self.friend_name}",
)
)
_build_dir = os.path.abspath(
os.path.join(
Expand Down

0 comments on commit 5adbc88

Please sign in to comment.