summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 10:00:57 +0800
committerGitHub <noreply@github.com>2020-09-23 21:00:57 -0500
commit0b8fb43e3e45f28b9933769cb9462c12ffc3090c (patch)
tree7d35334b57ee07991cd047969499d4b6549d13b0 /var
parentddf27b56ad61256b922370dd6f2068bc27076021 (diff)
downloadspack-0b8fb43e3e45f28b9933769cb9462c12ffc3090c.tar.gz
spack-0b8fb43e3e45f28b9933769cb9462c12ffc3090c.tar.bz2
spack-0b8fb43e3e45f28b9933769cb9462c12ffc3090c.tar.xz
spack-0b8fb43e3e45f28b9933769cb9462c12ffc3090c.zip
Add new package: cunit (#18757)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/cunit/package.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/cunit/package.py b/var/spack/repos/builtin/packages/cunit/package.py
new file mode 100644
index 0000000000..511f1d7c25
--- /dev/null
+++ b/var/spack/repos/builtin/packages/cunit/package.py
@@ -0,0 +1,20 @@
+# 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 Cunit(AutotoolsPackage):
+ """Automated testing framework for 'C'."""
+
+ homepage = "https://sourceforge.net/projects/cunit/"
+ url = "https://sourceforge.net/projects/cunit/files/CUnit/2.1-3/CUnit-2.1-3.tar.bz2"
+
+ version('2.1-3', sha256='f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')