pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/cvise
Module Name: pkgsrc
Committed By: adam
Date: Wed Apr 19 16:31:42 UTC 2023
Modified Files:
pkgsrc/devel/cvise: Makefile distinfo
pkgsrc/devel/cvise/patches: patch-CMakeLists.txt
Log Message:
cvise: updated to 2.7.0
v2.7.0
quite a few Clang passes were reworked
daily GitHub Action has been added for LLVM daily snapshot
--start-with provides a better error message if the pass is not found
pyupgrade was used to modernize the codebase to Python 3.6
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/cvise/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/cvise/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/cvise/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/cvise/Makefile
diff -u pkgsrc/devel/cvise/Makefile:1.10 pkgsrc/devel/cvise/Makefile:1.11
--- pkgsrc/devel/cvise/Makefile:1.10 Tue Jan 24 18:36:21 2023
+++ pkgsrc/devel/cvise/Makefile Wed Apr 19 16:31:41 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.10 2023/01/24 18:36:21 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2023/04/19 16:31:41 adam Exp $
-DISTNAME= cvise-2.6.0
-PKGREVISION= 1
+DISTNAME= cvise-2.7.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=marxin/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -11,21 +10,21 @@ HOMEPAGE= https://github.com/marxin/cvis
COMMENT= Super-parallel Python port of the C-Reduce
LICENSE= modified-bsd
+DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
DEPENDS+= ${PYPKGPREFIX}-pebble-[0-9]*:../../devel/py-pebble
DEPENDS+= ${PYPKGPREFIX}-psutil-[0-9]*:../../sysutils/py-psutil
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= c c++
+USE_TOOLS+= flex
+TEST_TARGET= test
PYTHON_VERSIONS_INCOMPATIBLE= 27
.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_LANGUAGES= c c++
-USE_TOOLS+= flex
-TEST_TARGET= test
REPLACE_PYTHON+= cvise.py
REPLACE_PYTHON+= cvise-delta.py
Index: pkgsrc/devel/cvise/distinfo
diff -u pkgsrc/devel/cvise/distinfo:1.6 pkgsrc/devel/cvise/distinfo:1.7
--- pkgsrc/devel/cvise/distinfo:1.6 Mon Nov 14 18:54:34 2022
+++ pkgsrc/devel/cvise/distinfo Wed Apr 19 16:31:41 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2022/11/14 18:54:34 adam Exp $
+$NetBSD: distinfo,v 1.7 2023/04/19 16:31:41 adam Exp $
-BLAKE2s (cvise-2.6.0.tar.gz) = b9053761174e1b731bf1fd7d71b73cac7cfedddcafb91a416a9f26671c5afabc
-SHA512 (cvise-2.6.0.tar.gz) = 1707cc46c342197c6b0e11b26a453548fd7bc7bc25baf20215230a7a4743053700189f96c1e0ba4ad6c9de4dd38920700a957ca333b0f123949b7a5a00854291
-Size (cvise-2.6.0.tar.gz) = 264295 bytes
-SHA1 (patch-CMakeLists.txt) = 25ba7752a5ec6722c09ce0084ccd44cedbcdef6b
+BLAKE2s (cvise-2.7.0.tar.gz) = 19c0dca4f9d66d7a7639bfb062c8fdecdb8bf4c37cb012d75e3c2d862b02868c
+SHA512 (cvise-2.7.0.tar.gz) = 4da775e177c135d5282f8e3d9a33ae040f403eabcca8baf9f4f78adc05e3069626340005f9f41ab2f530c9269f4c5829bdd35b55433e2d539d42de002e42aa5e
+Size (cvise-2.7.0.tar.gz) = 269155 bytes
+SHA1 (patch-CMakeLists.txt) = edc521412898e30271f06b825eb9f3df12d188d7
Index: pkgsrc/devel/cvise/patches/patch-CMakeLists.txt
diff -u pkgsrc/devel/cvise/patches/patch-CMakeLists.txt:1.1 pkgsrc/devel/cvise/patches/patch-CMakeLists.txt:1.2
--- pkgsrc/devel/cvise/patches/patch-CMakeLists.txt:1.1 Mon Nov 14 18:54:34 2022
+++ pkgsrc/devel/cvise/patches/patch-CMakeLists.txt Wed Apr 19 16:31:42 2023
@@ -1,23 +1,37 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2022/11/14 18:54:34 adam Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2023/04/19 16:31:42 adam Exp $
+PythonInterp is deprecated and does not work correctly.
Clang does not support -Wno-error=maybe-uninitialized option.
Do not set -O3 optimization flags.
---- CMakeLists.txt.orig 2022-10-03 11:03:59.000000000 +0000
+--- CMakeLists.txt.orig 2022-12-23 10:31:49.000000000 +0000
+++ CMakeLists.txt
-@@ -146,13 +146,11 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
+@@ -41,7 +41,7 @@ message(STATUS "Using ClangConfig.cmake
+
+ # Locate Python and check its version.
+ #
+-find_package(PythonInterp 3.6 REQUIRED)
++find_package(Python3 COMPONENTS Interpreter Development)
+
+ # Locate pytest
+ execute_process(COMMAND ${PYTHON_EXECUTABLE} -m pytest --version
+@@ -151,8 +151,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
- # XXX figure out how to get "-std=c++14 -fno-rtti" from LLVM. That's how we
+ # XXX figure out how to get "-std=c++17 -fno-rtti" from LLVM. That's how we
# get those options in the Automake path...
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Werror -Wno-error=maybe-uninitialized")
-- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror -Wno-error=maybe-uninitialized")
-+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
-+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter")
+- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter -Werror -Wno-error=maybe-uninitialized")
++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-error=maybe-uninitialized")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17 -fno-rtti -fno-strict-aliasing -Wall -Wextra -Wno-unused-parameter")
if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility-inlines-hidden")
endif()
+@@ -160,8 +160,6 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU"
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=mismatched-new-delete")
+ endif()
+
- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3")
-- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -O3")
+- set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -O3 -g")
endif()
###############################################################################
Home |
Main Index |
Thread Index |
Old Index