Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a recipe for CLDConfig #594

Merged
merged 8 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions packages/cldconfig/package.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack import *


class Cldconfig(CMakePackage):
"""Configuration files for the CLD detector concept"""

homepage = "https://github.com/key4hep/CLDConfig"
git = "https://github.com/key4hep/CLDConfig"

maintainers = ["jmcarcell"]

version("main", branch="main")
# Old tag to make sure there is at least one, can be removed when
# there is another
version("v02-04-01", tag="v02-04-01")

depends_on("k4geo", type="test")
depends_on("dd4hep", type="test")
depends_on("k4fwcore", type="test")
depends_on("k4marlinwrapper", type="test")
depends_on("marlintrkprocessors", type="test")
depends_on("conformaltracking", type="test")
depends_on("ddmarlinpandora", type="test")
depends_on("clicperformance", type="test")
depends_on("lcfiplus", type="test")
depends_on("marlinfastjet", type="test")

def cmake_args(self):
args = []
args.append("-DBUILD_TESTING=%s" % self.run_tests)
return args

def setup_run_environment(self, env):
env.prepend_path("CLDCONFIG", self.prefix)
1 change: 1 addition & 0 deletions packages/key4hep-stack/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class Key4hepStack(BundlePackage, Key4hepPackage):
depends_on("babayaga")
depends_on("bdsim")
depends_on("bhlumi")
depends_on("cldconfig")
depends_on("dd4hep")
depends_on("delphes")
depends_on("edm4hep")
Expand Down
1 change: 1 addition & 0 deletions scripts/fetch_nightly_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def get_latest_commit(
("ced", "ilcsoft/ced"),
("cedviewer", "ilcsoft/cedviewer"),
# ("cepcsw", "cepc/cepcsw"),
("cldconfig", "key4hep/CLDConfig"),
("clicperformance", "ilcsoft/clicperformance"),
("conformaltracking", "ilcsoft/conformaltracking"),
("dd4hep", "aidasoft/dd4hep"),
Expand Down
Loading