diff options
author | snermolaev <snermolaev@yandex-team.com> | 2023-03-13 05:33:19 +0300 |
---|---|---|
committer | snermolaev <snermolaev@yandex-team.com> | 2023-03-13 05:33:19 +0300 |
commit | 5e9c624054f29ae9d918b4a3b6fb9d68f4ce2113 (patch) | |
tree | c5cc2ef854e24a9b2e87eab269d593f9d18cf802 /library/cpp/lfalloc | |
parent | 0abce4801507e87f95e23263f0bd91c5d69d3e02 (diff) | |
download | ydb-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.txt | 11 |
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 +) |