diff options
author | Thomas Madlener <thomas.madlener@desy.de> | 2023-06-24 16:32:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-24 16:32:15 +0200 |
commit | cc1f403385e1784b007c242bd4f394cfdb8517ca (patch) | |
tree | c265a7be0450ed56fa42106eb366e063dae146ae /var | |
parent | b1d281f1977df99de738e5c9fd0606da40d17964 (diff) | |
download | spack-cc1f403385e1784b007c242bd4f394cfdb8517ca.tar.gz spack-cc1f403385e1784b007c242bd4f394cfdb8517ca.tar.bz2 spack-cc1f403385e1784b007c242bd4f394cfdb8517ca.tar.xz spack-cc1f403385e1784b007c242bd4f394cfdb8517ca.zip |
circe2: add new package (#38491)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/circe2/package.py | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/circe2/package.py b/var/spack/repos/builtin/packages/circe2/package.py new file mode 100644 index 0000000000..21ae748bba --- /dev/null +++ b/var/spack/repos/builtin/packages/circe2/package.py @@ -0,0 +1,42 @@ +# Copyright 2013-2023 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.package import * + + +class Circe2(AutotoolsPackage): + """Circe2 is a beam spectrum generator that provides efficient, realistic + and reproducible parametrizations of the correlated e+/e- and gamma beam + spectra for linear colliders and photon colliders. + """ + + homepage = "https://whizard.hepforge.org/circe.html" + url = "https://git.physik.uni-wuerzburg.de/ohl/circe2-public/-/raw/main/circe2-3.1.2.1.tar.gz" + + tags = ["hep"] + + maintainers("tmadlener") + + version("3.1.2.1", sha256="8bb09e6f566adefcf7b5b1cf9d9fe4536dd3dd11ed3674861de29e177ee0bb04") + + variant("doc", default=False, description="Create the latex documentation") + + depends_on("ocaml@4.05:") + depends_on("texlive", when="+doc") + + conflicts( + "%gcc@:5.0", + msg="gfortran needs to support Fortran 2008. For more detailed information see https://whizard.hepforge.org/compilers.html", + ) + conflicts( + "%gcc@6.5.0", + msg="Due to severe regressions, gfortran 6.5.0 can not be used. See https://whizard.hepforge.org/compilers.html", + ) + + conflicts( + "%intel@:17", + msg="The fortran compiler needs to support Fortran 2008. For more detailed information see https://whizard.hepforge.org/compilers.html", + ) |