diff options
author | Peter Brady <ptb@lanl.gov> | 2022-01-15 14:08:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-15 14:08:18 -0700 |
commit | 30b3cd3b446970606487fb2587e23f515f15cdbe (patch) | |
tree | 0aba12a68009efbc0ea072273eed29f2322187a3 | |
parent | 1dd92380219b1aec00d69d20310f4a4064a75225 (diff) | |
download | spack-30b3cd3b446970606487fb2587e23f515f15cdbe.tar.gz spack-30b3cd3b446970606487fb2587e23f515f15cdbe.tar.bz2 spack-30b3cd3b446970606487fb2587e23f515f15cdbe.tar.xz spack-30b3cd3b446970606487fb2587e23f515f15cdbe.zip |
chaco: new package (#28342)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
-rw-r--r-- | var/spack/repos/builtin/packages/chaco/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/chaco/package.py b/var/spack/repos/builtin/packages/chaco/package.py new file mode 100644 index 0000000000..b07a8c7176 --- /dev/null +++ b/var/spack/repos/builtin/packages/chaco/package.py @@ -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') + ] |