File tree Expand file tree Collapse file tree 3 files changed +27
-24
lines changed
Expand file tree Collapse file tree 3 files changed +27
-24
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ include_guard (GLOBAL )
2+
3+ # TODO: these variables are named VELOX_* because we are piggy-backing on
4+ # Velox's resolve dependency module for now. We should change and have our own
5+ # in the future.
6+ set (VELOX_ABSL_VERSION 20240116.0)
7+ set (VELOX_ABSL_BUILD_SHA256_CHECKSUM
8+ "338420448b140f0dfd1a1ea3c3ce71b3bc172071f24f4d9a57d59b45037da440" )
9+ set (VELOX_ABSL_SOURCE_URL
10+ "https://github.com/abseil/abseil-cpp/archive/refs/tags/${VELOX_ABSL_VERSION} .tar.gz"
11+ )
12+
13+ velox_resolve_dependency_url(ABSL)
14+
15+ message (STATUS "Building Abseil from source" )
16+
17+ FetchContent_Declare(
18+ absl
19+ URL ${VELOX_ABSL_SOURCE_URL}
20+ URL_HASH ${VELOX_ABSL_BUILD_SHA256_CHECKSUM} )
21+
22+ set (ABSL_BUILD_TESTING OFF )
23+ set (ABSL_PROPAGATE_CXX_STD ON )
24+ set (ABSL_ENABLE_INSTALL ON )
25+ FetchContent_MakeAvailable(absl)
Original file line number Diff line number Diff line change @@ -115,8 +115,8 @@ velox_resolve_dependency(Boost 1.77.0 COMPONENTS ${BOOST_INCLUDE_LIBRARIES})
115115velox_set_source(folly)
116116velox_resolve_dependency(folly)
117117
118- velox_set_source(abseil )
119- velox_resolve_dependency(abseil )
118+ velox_set_source(absl )
119+ velox_resolve_dependency(absl )
120120
121121# Use xxhash and xsimd from Velox for now.
122122include_directories (.)
You can’t perform that action at this time.
0 commit comments