Bump rocksdb from v8.10 to v9.4 + enable jemalloc and liburing#67904
Merged
rschu1ze merged 7 commits intoClickHouse:masterfrom Aug 7, 2024
Merged
Bump rocksdb from v8.10 to v9.4 + enable jemalloc and liburing#67904rschu1ze merged 7 commits intoClickHouse:masterfrom
rschu1ze merged 7 commits intoClickHouse:masterfrom
Conversation
Member
|
This is an automated comment for commit df0dac2 with description of existing statuses. It's updated for the latest CI running ❌ Click here to open a full report in a separate page
Successful checks
|
Member
Author
|
ClickHouse Stateless tests (aarch64) ( |
hanfei1991
approved these changes
Aug 7, 2024
canhld94
reviewed
Aug 8, 2024
| option(WITH_ZSTD "build with zstd" ON) | ||
|
|
||
| if(WITH_SNAPPY) | ||
| if (ENABLE_JEMALLOC) |
Contributor
There was a problem hiding this comment.
I think it should be like this to fix BSD build:
if (CMAKE_SYSTEM_NAME MATCHES "FreeBSD" AND NOT CMAKE_SYSTEM_NAME MATCHES "kFreeBSD")
# FreeBSD has jemalloc as default malloc
# but it does not have all the jemalloc files in include/...
else()
if (ENABLE_JEMALLOC)
message (STATUS "Using jemalloc")
target_compile_definitions (_rocksdb PUBLIC ROCKSDB_JEMALLOC JEMALLOC_NO_DEMANGLE)
list (APPEND THIRDPARTY_LIBS ch_contrib::jemalloc)
endif ()
endif ()
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up for #66479, includes jemalloc- and liburing-enabling bits from #67274 (cc: @canhld94)
Changelog category (leave one):