summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorValentin Volkl <valentin.volkl@cern.ch>2022-05-10 14:40:04 +0200
committerGitHub <noreply@github.com>2022-05-10 12:40:04 +0000
commitb76fc61debcc09bad12e353b317a8ce9ee7501cd (patch)
treee7ad3147fd978e1c2e1bde22999a34c44b2372b7 /var
parent186abe525efffac0fdf80eb23f153beb8c04ad52 (diff)
downloadspack-b76fc61debcc09bad12e353b317a8ce9ee7501cd.tar.gz
spack-b76fc61debcc09bad12e353b317a8ce9ee7501cd.tar.bz2
spack-b76fc61debcc09bad12e353b317a8ce9ee7501cd.tar.xz
spack-b76fc61debcc09bad12e353b317a8ce9ee7501cd.zip
agile: add new package (#30244)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/agile/package.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/agile/package.py b/var/spack/repos/builtin/packages/agile/package.py
new file mode 100644
index 0000000000..d97444f45f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/agile/package.py
@@ -0,0 +1,33 @@
+# Copyright 2013-2022 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 Agile(AutotoolsPackage):
+ """AGILe is A Generator Interface Library (& executable), i.e. a uniform
+ object oriented C++ interface for a variety of Fortran-based Monte Carlo
+ event generators.."""
+
+ homepage = "https://agile.hepforge.org/"
+ url = "http://www.hepforge.org/archive/agile/AGILe-1.4.1.tar.gz"
+
+ tags = ['hep']
+
+ maintainers = ['vvolkl']
+
+ version('1.5.1', sha256='e38536300060e4b845ccaaed824c7495944f9117a0d7e4ee74a18bf278e2012f')
+
+ depends_on('hepmc')
+ depends_on('boost')
+
+ def configure_args(self):
+ options = ['--prefix=%s' % self.spec.prefix,
+ '--with-hepmc=%s' % self.spec['hepmc'].prefix,
+ '--with-boost=%s' % self.spec['boost'].prefix,
+ '--disable-pyext', # probably only works with python2
+ 'CFLAGS=-g0 -O2',
+ 'CXXFLAGS=-g0 -O2',
+ 'FFLAGS=-g0 -O2']
+ return options