tramonto: add new package (#26858)
This commit is contained in:
parent
afd4a72937
commit
34d4091dbc
1 changed files with 24 additions and 0 deletions
24
var/spack/repos/builtin/packages/tramonto/package.py
Normal file
24
var/spack/repos/builtin/packages/tramonto/package.py
Normal 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
|
Loading…
Reference in a new issue