diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-08-30 04:41:52 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-29 15:41:52 -0500 |
commit | 66e006608a94a7a6223a6ff617ea5a9636454c45 (patch) | |
tree | dfc7aa73c3cd0227ddf19ebdd544c1cc0488cb61 | |
parent | 49df20f1ef970df3e64db800bf03dd30b2114c33 (diff) | |
download | spack-66e006608a94a7a6223a6ff617ea5a9636454c45.tar.gz spack-66e006608a94a7a6223a6ff617ea5a9636454c45.tar.bz2 spack-66e006608a94a7a6223a6ff617ea5a9636454c45.tar.xz spack-66e006608a94a7a6223a6ff617ea5a9636454c45.zip |
Add new package: cgdcbxd (#18391)
-rw-r--r-- | var/spack/repos/builtin/packages/cgdcbxd/package.py | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cgdcbxd/package.py b/var/spack/repos/builtin/packages/cgdcbxd/package.py new file mode 100644 index 0000000000..63eb408bad --- /dev/null +++ b/var/spack/repos/builtin/packages/cgdcbxd/package.py @@ -0,0 +1,29 @@ +# Copyright 2013-2020 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 Cgdcbxd(AutotoolsPackage): + """cgdcbxd is a daemon used to monitor DCB netlink events and manage + the net_prio control group subsystem. The daemon keeps the hierarchy + and priority mappings in sync with DCBX Application events""" + + homepage = "https://github.com/jrfastab/cgdcbxd" + url = "https://github.com/jrfastab/cgdcbxd/archive/v1.0.2.tar.gz" + + version('1.0.2', sha256='ef626c60e27005d3cae1e19a60d0133be0d1f0a012b695f7f1f6ad5a2afa4166') + version('1.0.1', sha256='663b87a5ab4a760e2446e479fec36f6300d53e6113af1408efc156325219900c') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + depends_on('libcgroup@0.32:') + depends_on('libmnl') + + def autoreconf(self, spec, prefix): + bash = which('bash') + bash('./bootstrap.sh') |