[hyperscan] Allow hyperscan to be built as dynamic library (#47786)

This commit is contained in:
Chris W 2025-10-13 18:41:01 +01:00 committed by GitHub
parent 34823ada10
commit 58d6ea268d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 13 additions and 6 deletions

View File

@ -1,5 +1,3 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO intel/hyperscan
@ -14,7 +12,9 @@ vcpkg_find_acquire_program(PYTHON3)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS "-DPYTHON_EXECUTABLE=${PYTHON3}"
OPTIONS
"-DPYTHON_EXECUTABLE=${PYTHON3}"
-DBUILD_EXAMPLES=OFF
)
vcpkg_cmake_install()
@ -23,5 +23,5 @@ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
vcpkg_fixup_pkgconfig()
vcpkg_fixup_pkgconfig()

View File

@ -1,6 +1,7 @@
{
"name": "hyperscan",
"version": "5.4.2",
"port-version": 1,
"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

@ -958,6 +958,7 @@ hikogui:x64-uwp = cascade
hpx[cuda](!(windows & x64 & !uwp & !xbox) & !(linux & x64) & !(linux & arm64)) = cascade
hpx[cuda](osx) = cascade
hpx[mpi](windows & !(x64 | x86))=cascade
hyperscan:x64-android=fail
hyperscan:x64-uwp = cascade
hypodermic:arm64-uwp = cascade
hypodermic:x64-uwp = cascade

View File

@ -3818,7 +3818,7 @@
},
"hyperscan": {
"baseline": "5.4.2",
"port-version": 0
"port-version": 1
},
"hypodermic": {
"baseline": "2023-03-03",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "778bdd34ac06dd066bc86f9d67807b09efbbe53d",
"version": "5.4.2",
"port-version": 1
},
{
"git-tree": "174fd7953b696f08703b580901a840cc53157439",
"version": "5.4.2",