early-access version 2853
This commit is contained in:
27
externals/vcpkg/ports/hyperscan/0001-remove-Werror.patch
vendored
Executable file
27
externals/vcpkg/ports/hyperscan/0001-remove-Werror.patch
vendored
Executable file
@@ -0,0 +1,27 @@
|
||||
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
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -235,8 +235,8 @@ 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)
|
||||
|
||||
29
externals/vcpkg/ports/hyperscan/portfile.cmake
vendored
Executable file
29
externals/vcpkg/ports/hyperscan/portfile.cmake
vendored
Executable file
@@ -0,0 +1,29 @@
|
||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||
|
||||
set(HYPERSCAN_VERSION 5.4.0)
|
||||
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO intel/hyperscan
|
||||
REF v${HYPERSCAN_VERSION}
|
||||
SHA512 cfec3f43b9e8b3fbb2e761927f3a173c1230f2688da710ec7708f2941ce6f550a1d3cb48b0b0e2ccf709807390117a7e40047cb99190bcc341f37eb3da13ae62
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
0001-remove-Werror.patch
|
||||
)
|
||||
|
||||
vcpkg_find_acquire_program(PYTHON3)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS "-DPYTHON_EXECUTABLE=${PYTHON3}"
|
||||
)
|
||||
|
||||
vcpkg_cmake_install()
|
||||
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
|
||||
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
|
||||
|
||||
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
|
||||
|
||||
vcpkg_fixup_pkgconfig()
|
||||
35
externals/vcpkg/ports/hyperscan/vcpkg.json
vendored
Executable file
35
externals/vcpkg/ports/hyperscan/vcpkg.json
vendored
Executable file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "hyperscan",
|
||||
"version": "5.4.0",
|
||||
"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",
|
||||
"supports": "!arm",
|
||||
"dependencies": [
|
||||
"boost-array",
|
||||
"boost-chrono",
|
||||
"boost-config",
|
||||
"boost-core",
|
||||
"boost-crc",
|
||||
"boost-detail",
|
||||
"boost-dynamic-bitset",
|
||||
"boost-functional",
|
||||
"boost-graph",
|
||||
"boost-icl",
|
||||
"boost-multi-array",
|
||||
"boost-ptr-container",
|
||||
"boost-random",
|
||||
"boost-regex",
|
||||
"boost-system",
|
||||
"boost-thread",
|
||||
"boost-type-traits",
|
||||
"boost-unordered",
|
||||
"boost-utility",
|
||||
"pcre",
|
||||
"ragel",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user