-
Notifications
You must be signed in to change notification settings - Fork 900
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Import the UMASH hashing library (#7616)
We use it for vectorized hash grouping. For now, add the library separately to figure out the required CMake and CI changes.
- Loading branch information
Showing
6 changed files
with
1,992 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
set(SOURCES "") | ||
target_sources(${PROJECT_NAME} PRIVATE ${SOURCES}) | ||
set(SOURCES) | ||
|
||
if(USE_UMASH) | ||
list(APPEND SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/umash.c) | ||
endif() | ||
|
||
if(SOURCES) | ||
# Disable clang-tidy for imported code | ||
add_library(target_no_static_code_analysis OBJECT ${SOURCES}) | ||
set_target_properties(target_no_static_code_analysis PROPERTIES C_CLANG_TIDY | ||
"") | ||
|
||
target_link_libraries(${TSL_LIBRARY_NAME} | ||
$<TARGET_OBJECTS:target_no_static_code_analysis>) | ||
endif() |
Oops, something went wrong.