pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/cvise devel/cvise: import cvise-2.3.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/ce185f133718
branches: trunk
changeset: 456254:ce185f133718
user: wiz <wiz%pkgsrc.org@localhost>
date: Fri Jul 23 11:30:16 2021 +0000
description:
devel/cvise: import cvise-2.3.0
C-Vise is a super-parallel Python port of the C-Reduce. The port
is fully compatible to the C-Reduce and uses the same efficient
LLVM-based C/C++ reduction tool named clang_delta.
C-Vise is a tool that takes a large C, C++ or OpenCL program that
has a property of interest (such as triggering a compiler bug) and
automatically produces a much smaller C/C++ or OpenCL program that
has the same property. It is intended for use by people who discover
and report bugs in compilers and other tools that process C/C++ or
OpenCL code.
diffstat:
devel/cvise/DESCR | 10 ++++++++++
devel/cvise/Makefile | 39 +++++++++++++++++++++++++++++++++++++++
devel/cvise/PLIST | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
devel/cvise/distinfo | 6 ++++++
4 files changed, 103 insertions(+), 0 deletions(-)
diffs (119 lines):
diff -r 432eea742e37 -r ce185f133718 devel/cvise/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cvise/DESCR Fri Jul 23 11:30:16 2021 +0000
@@ -0,0 +1,10 @@
+C-Vise is a super-parallel Python port of the C-Reduce. The port
+is fully compatible to the C-Reduce and uses the same efficient
+LLVM-based C/C++ reduction tool named clang_delta.
+
+C-Vise is a tool that takes a large C, C++ or OpenCL program that
+has a property of interest (such as triggering a compiler bug) and
+automatically produces a much smaller C/C++ or OpenCL program that
+has the same property. It is intended for use by people who discover
+and report bugs in compilers and other tools that process C/C++ or
+OpenCL code.
diff -r 432eea742e37 -r ce185f133718 devel/cvise/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cvise/Makefile Fri Jul 23 11:30:16 2021 +0000
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2021/07/23 11:30:16 wiz Exp $
+
+DISTNAME= cvise-2.3.0
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=marxin/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/marxin/cvise
+COMMENT= Super-parallel Python port of the C-Reduce
+LICENSE= modified-bsd
+
+DEPENDS+= ${PYPKGPREFIX}-pebble-[0-9]*:../../devel/py-pebble
+DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "NetBSD"
+DEPENDS+= unifdef-[0-9]*:../../devel/unifdef
+.endif
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_CMAKE= yes
+CONFIGURE_DIRS= build
+CMAKE_ARG_PATH= ..
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= flex
+#TEST_TARGET= check
+
+REPLACE_PYTHON+= cvise.py
+REPLACE_PYTHON+= cvise-delta.py
+
+pre-configure:
+ ${MKDIR} ${WRKSRC}/build
+
+.include "../../lang/python/application.mk"
+.include "../../lang/clang/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 432eea742e37 -r ce185f133718 devel/cvise/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cvise/PLIST Fri Jul 23 11:30:16 2021 +0000
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1 2021/07/23 11:30:16 wiz Exp $
+bin/cvise
+bin/cvise-delta
+libexec/cvise/clang_delta
+libexec/cvise/clex
+libexec/cvise/strlex
+libexec/cvise/topformflat
+share/cvise/__init__.py
+share/cvise/cvise.py
+share/cvise/pass_groups/all.json
+share/cvise/pass_groups/delta.json
+share/cvise/pass_groups/opencl-120.json
+share/cvise/passes/__init__.py
+share/cvise/passes/abstract.py
+share/cvise/passes/balanced.py
+share/cvise/passes/blank.py
+share/cvise/passes/clang.py
+share/cvise/passes/clangbinarysearch.py
+share/cvise/passes/clex.py
+share/cvise/passes/comments.py
+share/cvise/passes/ifs.py
+share/cvise/passes/includeincludes.py
+share/cvise/passes/includes.py
+share/cvise/passes/indent.py
+share/cvise/passes/ints.py
+share/cvise/passes/line_markers.py
+share/cvise/passes/lines.py
+share/cvise/passes/peep.py
+share/cvise/passes/special.py
+share/cvise/passes/ternary.py
+share/cvise/passes/unifdef.py
+share/cvise/tests/__init__.py
+share/cvise/tests/test_balanced.py
+share/cvise/tests/test_comments.py
+share/cvise/tests/test_ifs.py
+share/cvise/tests/test_ints.py
+share/cvise/tests/test_line_markers.py
+share/cvise/tests/test_nestedmatcher.py
+share/cvise/tests/test_peep.py
+share/cvise/tests/test_special.py
+share/cvise/tests/test_ternary.py
+share/cvise/tests/testabstract.py
+share/cvise/utils/__init__.py
+share/cvise/utils/error.py
+share/cvise/utils/nestedmatcher.py
+share/cvise/utils/readkey.py
+share/cvise/utils/statistics.py
+share/cvise/utils/testing.py
diff -r 432eea742e37 -r ce185f133718 devel/cvise/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/cvise/distinfo Fri Jul 23 11:30:16 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/07/23 11:30:16 wiz Exp $
+
+SHA1 (cvise-2.3.0.tar.gz) = 34ad515af2b786608337fb8222d74980e0ff813a
+RMD160 (cvise-2.3.0.tar.gz) = 72b3119441916e35b3dea2549b31b366511143be
+SHA512 (cvise-2.3.0.tar.gz) = 6c65b1462b20974d76e54b76e15e592a76445da2b8627a29a98ae295417239171267ed163d04a11eeaae25d068b44548cdad0b642e7024c49a5a15f3c0894b1b
+Size (cvise-2.3.0.tar.gz) = 250283 bytes
Home |
Main Index |
Thread Index |
Old Index