From 34d4091dbc4d2576c306a6b9d077d520b8dd9fb7 Mon Sep 17 00:00:00 2001 From: downloadico Date: Wed, 20 Oct 2021 23:18:33 -0600 Subject: tramonto: add new package (#26858) --- .../repos/builtin/packages/tramonto/package.py | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/tramonto/package.py 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 -- cgit v1.2.3-60-g2f50