aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lfalloc
diff options
context:
space:
mode:
authorsnermolaev <snermolaev@yandex-team.com>2023-03-13 05:33:19 +0300
committersnermolaev <snermolaev@yandex-team.com>2023-03-13 05:33:19 +0300
commit5e9c624054f29ae9d918b4a3b6fb9d68f4ce2113 (patch)
treec5cc2ef854e24a9b2e87eab269d593f9d18cf802 /library/cpp/lfalloc
parent0abce4801507e87f95e23263f0bd91c5d69d3e02 (diff)
downloadydb-5e9c624054f29ae9d918b4a3b6fb9d68f4ce2113.tar.gz
default allocator for 32bit arch: LF -> J
Diffstat (limited to 'library/cpp/lfalloc')
-rw-r--r--library/cpp/lfalloc/CMakeLists.linux-aarch64.txt11
1 files changed, 8 insertions, 3 deletions
diff --git a/library/cpp/lfalloc/CMakeLists.linux-aarch64.txt b/library/cpp/lfalloc/CMakeLists.linux-aarch64.txt
index 0d5a6f80f2..de6f97ec6a 100644
--- a/library/cpp/lfalloc/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/lfalloc/CMakeLists.linux-aarch64.txt
@@ -9,10 +9,15 @@
add_subdirectory(alloc_profiler)
add_subdirectory(dbg_info)
-add_library(library-cpp-lfalloc INTERFACE)
-target_link_libraries(library-cpp-lfalloc INTERFACE
+add_library(library-cpp-lfalloc)
+target_compile_options(library-cpp-lfalloc PRIVATE
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
+)
+target_link_libraries(library-cpp-lfalloc PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
- cpp-malloc-jemalloc
cpp-malloc-api
)
+target_sources(library-cpp-lfalloc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lfalloc/lf_allocX64.cpp
+)