head 1.8; access; symbols pkgsrc-2026Q1:1.7.0.10 pkgsrc-2026Q1-base:1.7 pkgsrc-2025Q4:1.7.0.8 pkgsrc-2025Q4-base:1.7 pkgsrc-2025Q3:1.7.0.6 pkgsrc-2025Q3-base:1.7 pkgsrc-2025Q2:1.7.0.4 pkgsrc-2025Q2-base:1.7 pkgsrc-2025Q1:1.7.0.2 pkgsrc-2025Q1-base:1.7 pkgsrc-2024Q4:1.6.0.4 pkgsrc-2024Q4-base:1.6 pkgsrc-2024Q3:1.6.0.2 pkgsrc-2024Q3-base:1.6 pkgsrc-2024Q2:1.5.0.2 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.4.0.4 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.2 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.3.0.4 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.2 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.1.0.4 pkgsrc-2023Q1-base:1.1 pkgsrc-2022Q4:1.1.0.2 pkgsrc-2022Q4-base:1.1; locks; strict; comment @# @; 1.8 date 2026.04.16.06.35.04; author wiz; state Exp; branches; next 1.7; commitid bmiiegBk779nl9CG; 1.7 date 2025.01.24.09.40.40; author wiz; state Exp; branches; next 1.6; commitid hhq0zWx4tuVXJIGF; 1.6 date 2024.08.04.10.18.42; author nia; state Exp; branches; next 1.5; commitid nQiWzxsj5i0NvukF; 1.5 date 2024.04.19.04.48.55; author adam; state Exp; branches; next 1.4; commitid 7cvzJTEOlAKO7I6F; 1.4 date 2023.11.07.20.01.20; author adam; state Exp; branches; next 1.3; commitid oPCfzVhdoHJGrILE; 1.3 date 2023.05.07.10.01.26; author wiz; state Exp; branches; next 1.2; commitid GQUwe9JtF8oD21oE; 1.2 date 2023.04.19.16.31.42; author adam; state Exp; branches; next 1.1; commitid H1swdk7cvVwgMJlE; 1.1 date 2022.11.14.18.54.34; author adam; state Exp; branches; next ; commitid 1dlfJdfKkhOcAH1E; desc @@ 1.8 log @cvise: update to 2.12.0nb1. Update to git head to fix build with llvm 21. @ text @$NetBSD: patch-CMakeLists.txt,v 1.7 2025/01/24 09:40:40 wiz Exp $ Do not force -Werror. Do not set -O3 optimization flags. --- CMakeLists.txt.orig 2026-04-10 12:50:48.000000000 +0000 +++ CMakeLists.txt @@@@ -173,7 +173,7 @@@@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") # 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(COMMON_FLAGS "-Wall -Wextra -Werror -Wno-unused-parameter") + set(COMMON_FLAGS "-Wall -Wextra -Wno-unused-parameter") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_FLAGS}") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${COMMON_FLAGS} -std=c++17 -fno-rtti -fno-strict-aliasing") if(SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG) @@@@ -199,8 +199,6 @@@@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=deprecated-declarations") endif() - set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O3") - set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -O3 -g") elseif(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17 /GR-") endif() @ 1.7 log @cvise: update to 2.11.0. Changes done in the release: LLVM 19 is properly supported NOTE: This project is looking for maintainers — reach out to [@@marxin] if you're interested. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.6 2024/08/04 10:18:42 nia Exp $ d6 1 a6 1 --- CMakeLists.txt.orig 2024-11-10 09:58:12.000000000 +0000 d8 1 a8 1 @@@@ -171,7 +171,7 @@@@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" d12 2 a13 2 - set(COMMON_FLAGS "-Wall -Wextra -Werror -pedantic -Wno-unused-parameter") + set(COMMON_FLAGS "-Wall -Wextra -pedantic -Wno-unused-parameter") d17 1 a17 1 @@@@ -197,8 +197,6 @@@@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" @ 1.6 log @cvise: Strip out -Werror from compiler options. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.5 2024/04/19 04:48:55 adam Exp $ d6 1 a6 1 --- CMakeLists.txt.orig 2024-03-13 20:19:48.000000000 +0000 d23 2 a25 2 ############################################################################### @ 1.5 log @cvise: updated to 2.10.0 v2.10.0 Changes done in the release: LLVM 18 is properly supported code has been reformatted with ruff @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.4 2023/11/07 20:01:20 adam Exp $ d3 1 d8 9 @ 1.4 log @cvise: updated to 2.9.0 v2.9.0 LLVM 17 is properly supported code has been modernized to Python 3.8+ a new argument --shell has been added @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.3 2023/05/07 10:01:26 wiz Exp $ d5 1 a5 1 --- CMakeLists.txt.orig 2023-11-06 18:26:40.000000000 +0000 d7 2 a8 2 @@@@ -189,8 +189,6 @@@@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=non-template-friend") @ 1.3 log @cvise: update to 2.8.0. Changes done in the release: LLVM 16 is properly supported with bumped minimal CMake version (2f4e175) the most beneficial passes (replace-function-def-with-decl and replace-function-def-with-decl) take turn (after 30 transformations) in early phases of reduction; that improves the speed of a reduction @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2023/04/19 16:31:42 adam Exp $ a2 1 PythonInterp is deprecated and does not work correctly. d5 1 a5 1 --- CMakeLists.txt.orig 2023-04-28 06:55:41.000000000 +0000 d7 2 a8 11 @@@@ -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 @@@@ -170,8 +170,6 @@@@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-error=maybe-uninitialized") @ 1.2 log @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 @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2022/11/14 18:54:34 adam Exp $ a3 1 Clang does not support -Wno-error=maybe-uninitialized option. d6 1 a6 1 --- CMakeLists.txt.orig 2022-12-23 10:31:49.000000000 +0000 d17 2 a18 13 @@@@ -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++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++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") @ 1.1 log @cvise: updated to 2.6.0 v2.6.0 new Clang passes rename-operator and member-to-global were added many Windows warnings are disabled for MSVC c++2b is a supported C++ standard @ text @d1 1 a1 1 $NetBSD$ d3 1 d7 1 a7 1 --- CMakeLists.txt.orig 2022-10-03 11:03:59.000000000 +0000 d9 10 a18 1 @@@@ -146,13 +146,11 @@@@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" d20 1 a20 1 # XXX figure out how to get "-std=c++14 -fno-rtti" from LLVM. That's how we d23 3 a25 3 - 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") d29 4 d34 1 a34 1 - set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CMAKE_CXX_FLAGS_RELEASE} -O3") @