[hyperscan] Disable unit tests. (#51775)

This commit is contained in:
Billy O'Neal 2026-05-14 16:41:12 -07:00 committed by GitHub
parent 5d2905696a
commit e175d8d19d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 22 additions and 18 deletions

View File

@ -1,27 +1,13 @@
From e2c0779de8096623be874c5fa0d275113b9d1204 Mon Sep 17 00:00:00 2001
From: Nicole Mazzuca <mazzucan@outlook.com>
Date: Tue, 22 Sep 2020 14:44:36 -0700
Subject: [PATCH] remove Werror
---
CMakeLists.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 83197af..d27eb76 100644
index 7757916..14d12d0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -235,8 +235,8 @@ else()
@@ -242,8 +242,6 @@ else()
if (NOT RELEASE_BUILD)
# -Werror is most useful during development, don't potentially break
# release builds
- set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -Werror")
- set(EXTRA_CXX_FLAGS "${EXTRA_CXX_FLAGS} -Werror")
+ #set(EXTRA_C_FLAGS "${EXTRA_C_FLAGS} -Werror")
+ #set(EXTRA_CXX_FLAGS "${EXTRA_CXX_FLAGS} -Werror")
endif()
if (DISABLE_ASSERTS)
--
2.24.3 (Apple Git-128)

View File

@ -0,0 +1,12 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 14d12d0..5b9ff9c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -546,7 +546,6 @@ if (CORRECT_PCRE_VERSION AND PCRE_BUILD_SOURCE AND BUILD_STATIC_LIBS)
set(BUILD_CHIMERA TRUE)
endif()
-add_subdirectory(unit)
if (EXISTS ${CMAKE_SOURCE_DIR}/tools/CMakeLists.txt)
add_subdirectory(tools)
endif()

View File

@ -7,6 +7,7 @@ vcpkg_from_github(
PATCHES
0001-remove-Werror.patch
0002-fix-threads.patch
0003-disable-tests.patch # also avoids old vendored gtest that fails on MSVC 19.51+ due to removed std::tr1
)
vcpkg_find_acquire_program(PYTHON3)

View File

@ -1,7 +1,7 @@
{
"name": "hyperscan",
"version": "5.4.2",
"port-version": 2,
"port-version": 3,
"description": "A regular expression library with O(length of input) match times that takes advantage of Intel hardware to provide blazing speed.",
"homepage": "https://www.hyperscan.io",
"license": "BSD-3-Clause",

View File

@ -3890,7 +3890,7 @@
},
"hyperscan": {
"baseline": "5.4.2",
"port-version": 2
"port-version": 3
},
"hypodermic": {
"baseline": "2023-03-03",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "f362c4cd38fb85f99792228ddac5fbd66ccdcc18",
"version": "5.4.2",
"port-version": 3
},
{
"git-tree": "9dbae1281767ae0d017623fd79e4e46a54779b17",
"version": "5.4.2",