tramonto: add new package (#26858)

This commit is contained in:
downloadico 2021-10-20 23:18:33 -06:00 committed by GitHub
parent afd4a72937
commit 34d4091dbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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