mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 18:35:46 +02:00
chore(tiering): Disable compilation for MacOs (#2799)
fix(tiering): Disable compilation for MacOs
This commit is contained in:
parent
5d998d0387
commit
1e7f22c7f2
1 changed files with 3 additions and 4 deletions
|
@ -14,11 +14,12 @@ set_property(SOURCE dfly_main.cc APPEND PROPERTY COMPILE_DEFINITIONS
|
|||
SOURCE_PATH_FROM_BUILD_ENV=${CMAKE_SOURCE_DIR})
|
||||
|
||||
if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
|
||||
SET(TX_LINUX_SRCS io_mgr.cc tiered_storage.cc)
|
||||
SET(TX_LINUX_SRCS io_mgr.cc tiered_storage.cc tiering/disk_storage.cc)
|
||||
|
||||
add_executable(dfly_bench dfly_bench.cc)
|
||||
cxx_link(dfly_bench dfly_facade fibers2 absl::random_random)
|
||||
cxx_test(tiered_storage_test dfly_test_lib LABELS DFLY)
|
||||
cxx_test(tiering/disk_storage_test dfly_test_lib LABELS DFLY)
|
||||
endif()
|
||||
|
||||
|
||||
|
@ -49,8 +50,7 @@ add_library(dragonfly_lib bloom_family.cc engine_shard_set.cc channel_store.cc
|
|||
cluster/cluster_family.cc cluster/cluster_slot_migration.cc
|
||||
cluster/cluster_shard_migration.cc cluster/outgoing_slot_migration.cc
|
||||
acl/user.cc acl/user_registry.cc acl/acl_family.cc
|
||||
acl/validator.cc acl/helpers.cc
|
||||
tiering/disk_storage.cc)
|
||||
acl/validator.cc acl/helpers.cc)
|
||||
|
||||
if (DF_ENABLE_MEMORY_TRACKING)
|
||||
target_compile_definitions(dragonfly_lib PRIVATE DFLY_ENABLE_MEMORY_TRACKING)
|
||||
|
@ -104,7 +104,6 @@ cxx_test(acl/user_registry_test dfly_test_lib LABELS DFLY)
|
|||
cxx_test(acl/acl_family_test dfly_test_lib LABELS DFLY)
|
||||
cxx_test(engine_shard_set_test dfly_test_lib LABELS DFLY)
|
||||
cxx_test(search/search_family_test dfly_test_lib LABELS DFLY)
|
||||
cxx_test(tiering/disk_storage_test dfly_test_lib LABELS DFLY)
|
||||
if (WITH_ASAN OR WITH_USAN)
|
||||
target_compile_definitions(stream_family_test PRIVATE SANITIZERS)
|
||||
target_compile_definitions(multi_test PRIVATE SANITIZERS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue