chaco: new package (#28342)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
This commit is contained in:
parent
1dd9238021
commit
30b3cd3b44
27
var/spack/repos/builtin/packages/chaco/package.py
Normal file
27
var/spack/repos/builtin/packages/chaco/package.py
Normal file
@ -0,0 +1,27 @@
|
||||
# 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 Chaco(CMakePackage):
|
||||
"""Graph partitioning library"""
|
||||
|
||||
homepage = "https://gitlab.com/truchas/tpl-forks/chaco"
|
||||
git = "https://gitlab.com/truchas/tpl-forks/chaco.git"
|
||||
|
||||
maintainers = ['pbrady']
|
||||
|
||||
version('develop', branch="truchas")
|
||||
version('2020-07-16', commit='92a877b381933d12b02507413897f696d81b4682', preferred=True)
|
||||
|
||||
variant('shared', default=True, description="build shared library")
|
||||
|
||||
depends_on('cmake@3.16:', type='build')
|
||||
|
||||
def cmake_args(self):
|
||||
return [
|
||||
self.define_from_variant('BUILD_SHARED_LIBS', 'shared')
|
||||
]
|
Loading…
Reference in New Issue
Block a user