Skip to content

Commit

Permalink
Merge pull request #39 from KIT-CMS/crownlib_friends
Browse files Browse the repository at this point in the history
add additional name to crownlib
  • Loading branch information
ralfschmieder authored May 22, 2024
2 parents 8030c44 + 2b55c69 commit 75648a3
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion processor/tasks/BuildCROWNLib.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class BuildCROWNLib(Task):
build_dir = luigi.Parameter()
install_dir = luigi.Parameter()
production_tag = luigi.Parameter()
friend_name = luigi.Parameter(default="ntuples")

def output(self):
target = self.remote_target("libCROWNLIB.so")
Expand All @@ -26,7 +27,11 @@ def run(self):
os.path.join(str(self.install_dir), str(self.production_tag))
)
_build_dir = os.path.abspath(
os.path.join(str(self.build_dir), str(self.production_tag), "crownlib")
os.path.join(
str(self.build_dir),
str(self.production_tag),
f"crownlib_{self.friend_name}",
)
)
_crown_path = os.path.abspath("CROWN")
_compile_script = os.path.join(
Expand Down

0 comments on commit 75648a3

Please sign in to comment.