Warning, file /eic-spack/packages/irt2/package.py was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007 from spack.package import *
0008
0009
0010 class Irt2(CMakePackage):
0011 """Indirect Ray Tracing library for EPIC Cherenkov detector reconstruction."""
0012
0013 homepage = "https://github.com/eic/irt"
0014 url = "https://github.com/eic/irt/archive/refs/tags/v2.1.0.zip"
0015 list_url = "https://github.com/eic/irt/tags"
0016 git = "https://github.com/eic/irt.git"
0017
0018 maintainers = ["chchatte92", "veprbl"]
0019 tags = ["eic"]
0020
0021 version("2.1.0", sha256="906a0cf7ec111bbf7e3f95d48daa8be6f0de592ffde2222aeec53f371abc2cb7")
0022
0023 variant("root_io", default=False, description="Build dictionaries for ROOT IO")
0024
0025 depends_on("cxx", type="build")
0026
0027 depends_on("root@6: +root7")
0028
0029 def cmake_args(self):
0030 args = [
0031 "-DEVALUATION=OFF",
0032 "-DDELPHES=OFF",
0033 ]
0034 args.append(self.define_from_variant("IRT_ROOT_IO", "root_io"))
0035 return args