Skip to content

Commit

Permalink
JCF: Issue #129: ensure daq-cmake is only a dependency of dunedaq whe…
Browse files Browse the repository at this point in the history
…n we're dealing with a developer installation
  • Loading branch information
root committed May 9, 2022
1 parent 36dd330 commit 96bd53c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 47 deletions.
6 changes: 5 additions & 1 deletion scripts/spack/make-release-repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,11 @@ def generate_umbrella_package(self, repo_path, template_dir):
else:
if not self.rdict["release"].startswith("dunedaq"):
iver = self.rdict["release"]
lines += f'\n depends_on(f"{iname}@{iver} build_type={{build_type}}", when=f"build_type={{build_type}}")'

if iname == "daq-cmake":
lines += f'\n depends_on(f"{iname}@{iver} build_type={{build_type}}", when=f"build_type={{build_type}} +dev")'
else:
lines += f'\n depends_on(f"{iname}@{iver} build_type={{build_type}}", when=f"build_type={{build_type}}")'

lines += '\n'
ipkg_dir = os.path.join(repo_dir, ipkg)
Expand Down
46 changes: 0 additions & 46 deletions spack-repos/release-repo-template/packages/appfwk/#package.py#

This file was deleted.

0 comments on commit 96bd53c

Please sign in to comment.