From 6aab1e5e397c04783773c02f51f3d09ba3bad1be Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Tue, 21 Jul 2020 03:34:20 -0400 Subject: [PATCH] Introduce robinhood map/hash --- indra/deps/CMakeLists.txt | 7 +++++++ indra/llcommon/CMakeLists.txt | 2 ++ 2 files changed, 9 insertions(+) diff --git a/indra/deps/CMakeLists.txt b/indra/deps/CMakeLists.txt index 6f2a3b0be48..023579a5c4a 100644 --- a/indra/deps/CMakeLists.txt +++ b/indra/deps/CMakeLists.txt @@ -12,6 +12,12 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON) GIT_TAG v0.14 ) +FetchContent_Declare( + robin-hood-hashing + GIT_REPOSITORY https://git.alchemyviewer.org/alchemy/thirdparty/robin-hood-hashing.git + GIT_TAG alchemy + ) + # FetchContent_Declare( # Catch2 # GIT_REPOSITORY https://github.com/catchorg/Catch2.git @@ -54,6 +60,7 @@ set(CMAKE_POSITION_INDEPENDENT_CODE ON) # #Download the rest of the libraries # FetchContent_MakeAvailable(fmt) FetchContent_MakeAvailable(meshoptimizer) +FetchContent_MakeAvailable(robin-hood-hashing) # # Typically you don't care so much for a third party library's tests to be # # run from your own project's code. diff --git a/indra/llcommon/CMakeLists.txt b/indra/llcommon/CMakeLists.txt index eeb315ead69..a937c5c9608 100644 --- a/indra/llcommon/CMakeLists.txt +++ b/indra/llcommon/CMakeLists.txt @@ -285,6 +285,7 @@ endif(LLCOMMON_LINK_SHARED) target_link_libraries( llcommon + PUBLIC ${BREAKPAD_EXCEPTION_HANDLER_LIBRARIES} ${APRUTIL_LIBRARIES} ${APR_LIBRARIES} @@ -299,6 +300,7 @@ target_link_libraries( ${BOOST_SYSTEM_LIBRARY} ${GOOGLE_PERFTOOLS_LIBRARIES} ${URIPARSER_LIBRARIES} + robin_hood ) if (DARWIN) -- GitLab