summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordownloadico <download@carc.unm.edu>2021-10-20 23:18:33 -0600
committerGitHub <noreply@github.com>2021-10-21 07:18:33 +0200
commit34d4091dbc4d2576c306a6b9d077d520b8dd9fb7 (patch)
tree2ab7fc3317f0a4749b41947a5a94966bcfb11572
parentafd4a7293707c94640ef1b13dd7e15c9db0f86e4 (diff)
downloadspack-34d4091dbc4d2576c306a6b9d077d520b8dd9fb7.tar.gz
spack-34d4091dbc4d2576c306a6b9d077d520b8dd9fb7.tar.bz2
spack-34d4091dbc4d2576c306a6b9d077d520b8dd9fb7.tar.xz
spack-34d4091dbc4d2576c306a6b9d077d520b8dd9fb7.zip
tramonto: add new package (#26858)
-rw-r--r--var/spack/repos/builtin/packages/tramonto/package.py24
1 files changed, 24 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tramonto/package.py b/var/spack/repos/builtin/packages/tramonto/package.py
new file mode 100644
index 0000000000..929d5c869a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/tramonto/package.py
@@ -0,0 +1,24 @@
+# Copyright 2013-2021 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 Tramonto(CMakePackage):
+ """Tramonto: Software for Nanostructured Fluids in Materials and Biology"""
+
+ homepage = "https://software.sandia.gov/tramonto/"
+ git = "https://github.com/Tramonto/Tramonto.git"
+
+ version('develop', branch='master')
+
+ depends_on('trilinos@:12+nox')
+
+ def cmake_args(self):
+ spec = self.spec
+ args = []
+ args.extend(['-DTRILINOS_PATH:PATH=%s/lib/cmake/Trilinos' %
+ spec['trilinos'].prefix])
+ return args