Skip to content

Commit 33b7afc

Browse files
committed
Bump vectorscan to 5.4.11
1 parent 43b088d commit 33b7afc

File tree

4 files changed

+14
-23
lines changed

4 files changed

+14
-23
lines changed

contrib/icu-cmake/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ else ()
55
endif ()
66

77
if (NOT ENABLE_ICU)
8-
message(STATUS "Not using icu")
8+
message(STATUS "Not using ICU")
99
return()
1010
endif()
1111

contrib/vectorscan

Submodule vectorscan updated 79 files

contrib/vectorscan-cmake/CMakeLists.txt

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
# We use vectorscan, a portable and API/ABI-compatible drop-in replacement for hyperscan.
2-
1+
# Vectorscan is drop-in replacement for Hyperscan.
32
if ((ARCH_AMD64 AND NOT NO_SSE3_OR_HIGHER) OR ARCH_AARCH64)
4-
option (ENABLE_VECTORSCAN "Enable vectorscan library" ${ENABLE_LIBRARIES})
3+
option (ENABLE_VECTORSCAN "Enable vectorscan" ${ENABLE_LIBRARIES})
54
endif()
65

7-
# TODO PPC should generally work but needs manual generation of ppc/config.h file on a PPC machine
8-
96
if (NOT ENABLE_VECTORSCAN)
107
message (STATUS "Not using vectorscan")
118
return()
@@ -272,34 +269,24 @@ if (ARCH_AARCH64)
272269
)
273270
endif()
274271

275-
# TODO
276-
# if (ARCH_PPC64LE)
277-
# list(APPEND SRCS
278-
# "${LIBRARY_DIR}/src/util/supervector/arch/ppc64el/impl.cpp"
279-
# )
280-
# endif()
281-
282272
add_library (_vectorscan ${SRCS})
283273

284-
target_compile_options (_vectorscan PRIVATE
285-
-fno-sanitize=undefined # assume the library takes care of itself
286-
-O2 -fno-strict-aliasing -fno-omit-frame-pointer -fvisibility=hidden # options from original build system
287-
)
288274
# library has too much debug information
289275
if (OMIT_HEAVY_DEBUG_SYMBOLS)
290276
target_compile_options (_vectorscan PRIVATE -g0)
291277
endif()
292278

293-
# Include version header manually generated by running the original build system
294-
target_include_directories (_vectorscan SYSTEM PRIVATE common)
279+
target_include_directories (_vectorscan SYSTEM PUBLIC "${LIBRARY_DIR}/src")
280+
281+
# Makes the version header visible. It was generated by running the native build system manually.
282+
# Please update whenever you update vectorscan.
283+
target_include_directories (_vectorscan SYSTEM PUBLIC common)
295284

296285
# vectorscan inherited some patched in-source versions of boost headers to fix a bug in
297286
# boost 1.69. This bug has been solved long ago but vectorscan's source code still
298287
# points to the patched versions, so include it here.
299288
target_include_directories (_vectorscan SYSTEM PRIVATE "${LIBRARY_DIR}/include")
300289

301-
target_include_directories (_vectorscan SYSTEM PUBLIC "${LIBRARY_DIR}/src")
302-
303290
# Include platform-specific config header generated by manually running the original build system
304291
# Please regenerate these files if you update vectorscan.
305292

contrib/vectorscan-cmake/common/hs_version.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,12 @@
3232
/**
3333
* A version string to identify this release of Hyperscan.
3434
*/
35-
#define HS_VERSION_STRING "5.4.7 2022-06-20"
35+
#define HS_VERSION_STRING "5.4.11 2024-07-04"
3636

3737
#define HS_VERSION_32BIT ((5 << 24) | (1 << 16) | (7 << 8) | 0)
3838

39+
#define HS_MAJOR 5
40+
#define HS_MINOR 4
41+
#define HS_PATCH 11
42+
3943
#endif /* HS_VERSION_H_C6428FAF8E3713 */

0 commit comments

Comments
 (0)