Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILO-HE committed Jul 16, 2024
1 parent b024cfc commit 94f464d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
brew install \
bison boost ccache double-conversion flex fmt gflags glog \
icu4c libevent libsodium lz4 lzo ninja openssl protobuf@21 \
range-v3 simdjson snappy thrift xz xsimd zstd
range-v3 simdjson snappy thrift xz xsimd zstd libtool
echo "NJOBS=`sysctl -n hw.ncpu`" >> $GITHUB_ENV
brew unlink protobuf || echo "protobuf not installed"
Expand Down
2 changes: 2 additions & 0 deletions CMake/resolve_dependency_modules/hyperscan.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,6 @@ set(CMAKE_CXX_STANDARD 11)
set(BUILD_EXAMPLES FALSE)
set(BUILD_AVX512 ON)
FetchContent_MakeAvailable(hyperscan)
set_target_properties(hs PROPERTIES INTERFACE_INCLUDE_DIRECTORIES
${hyperscan_SOURCE_DIR}/src)
set(CMAKE_CXX_STANDARD ${CMAKE_CXX_STANDARD_BACKUP})
2 changes: 1 addition & 1 deletion velox/functions/lib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ add_library(
TimeUtils.cpp)

target_link_libraries(velox_functions_lib velox_functions_util velox_vector
re2::re2 Folly::folly hyperscan)
re2::re2 Folly::folly hs)

add_subdirectory(aggregates)
add_subdirectory(string)
Expand Down
2 changes: 1 addition & 1 deletion velox/functions/lib/HyperscanFunctions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
*/
#include "velox/functions/lib/HyperscanFunctions.h"
#include <errno.h>
#include <hs/hs.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include "hs.h"
#include "velox/functions/lib/string/StringImpl.h"
#include "velox/vector/FunctionVector.h"

Expand Down

0 comments on commit 94f464d

Please sign in to comment.