mirror of
https://mirror.suhoan.cn/https://github.com/EasyTier/EasyTier.git
synced 2025-12-12 20:57:26 +08:00
Fix jemalloc warning on macOS (#1344)
fix: ``` -> % easytier-core <jemalloc>: option background_thread currently supports pthread only ``` Reference: https://github.com/apache/arrow/pull/5729
This commit is contained in:
@@ -258,11 +258,17 @@ jemallocator = { package = "tikv-jemallocator", version = "0.6.0", optional = tr
|
|||||||
] }
|
] }
|
||||||
jemalloc-ctl = { package = "tikv-jemalloc-ctl", version = "0.6.0", optional = true, features = [
|
jemalloc-ctl = { package = "tikv-jemalloc-ctl", version = "0.6.0", optional = true, features = [
|
||||||
] }
|
] }
|
||||||
|
|
||||||
|
[target.'cfg(not(target_os = "macos"))'.dependencies]
|
||||||
jemalloc-sys = { package = "tikv-jemalloc-sys", version = "0.6.0", features = [
|
jemalloc-sys = { package = "tikv-jemalloc-sys", version = "0.6.0", features = [
|
||||||
"background_threads_runtime_support",
|
"background_threads_runtime_support",
|
||||||
"background_threads",
|
"background_threads",
|
||||||
], optional = true }
|
], optional = true }
|
||||||
|
|
||||||
|
[target.'cfg(target_os = "macos")'.dependencies]
|
||||||
|
jemalloc-sys = { package = "tikv-jemalloc-sys", version = "0.6.0", features = [
|
||||||
|
], optional = true }
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tonic-build = "0.12"
|
tonic-build = "0.12"
|
||||||
globwalk = "0.8.1"
|
globwalk = "0.8.1"
|
||||||
|
|||||||
Reference in New Issue
Block a user