From 63852d5eda7b754395f781d9ac2480644f4fccea Mon Sep 17 00:00:00 2001 From: Maxim Deb Natkh Date: Tue, 2 Apr 2024 18:59:53 +0200 Subject: [PATCH] fix cmake build --- .../service/CMakeLists.darwin-x86_64.txt | 1 + .../service/CMakeLists.linux-aarch64.txt | 1 + .../service/CMakeLists.linux-x86_64.txt | 1 + .../service/CMakeLists.windows-x86_64.txt | 1 + .../tablet/CMakeLists.darwin-x86_64.txt | 2 ++ .../tablet/CMakeLists.linux-aarch64.txt | 2 ++ .../tablet/CMakeLists.linux-x86_64.txt | 2 ++ .../tablet/CMakeLists.windows-x86_64.txt | 2 ++ .../actors/CMakeLists.darwin-x86_64.txt | 20 ++++++++++++++++++ .../actors/CMakeLists.linux-aarch64.txt | 21 +++++++++++++++++++ .../tablet/actors/CMakeLists.linux-x86_64.txt | 21 +++++++++++++++++++ .../libs/storage/tablet/actors/CMakeLists.txt | 17 +++++++++++++++ .../actors/CMakeLists.windows-x86_64.txt | 19 +++++++++++++++++ 13 files changed, 110 insertions(+) create mode 100644 cloud/filestore/libs/storage/tablet/actors/CMakeLists.darwin-x86_64.txt create mode 100644 cloud/filestore/libs/storage/tablet/actors/CMakeLists.linux-aarch64.txt create mode 100644 cloud/filestore/libs/storage/tablet/actors/CMakeLists.linux-x86_64.txt create mode 100644 cloud/filestore/libs/storage/tablet/actors/CMakeLists.txt create mode 100644 cloud/filestore/libs/storage/tablet/actors/CMakeLists.windows-x86_64.txt diff --git a/cloud/filestore/libs/storage/service/CMakeLists.darwin-x86_64.txt b/cloud/filestore/libs/storage/service/CMakeLists.darwin-x86_64.txt index f7c1f0ba1ac..a3c502a2032 100644 --- a/cloud/filestore/libs/storage/service/CMakeLists.darwin-x86_64.txt +++ b/cloud/filestore/libs/storage/service/CMakeLists.darwin-x86_64.txt @@ -54,5 +54,6 @@ target_sources(filestore-libs-storage-service PRIVATE ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_pingsession.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_statfs.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_update_stats.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_writedata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_state.cpp ) diff --git a/cloud/filestore/libs/storage/service/CMakeLists.linux-aarch64.txt b/cloud/filestore/libs/storage/service/CMakeLists.linux-aarch64.txt index 0cbff68a133..6e2e15a7ddd 100644 --- a/cloud/filestore/libs/storage/service/CMakeLists.linux-aarch64.txt +++ b/cloud/filestore/libs/storage/service/CMakeLists.linux-aarch64.txt @@ -55,5 +55,6 @@ target_sources(filestore-libs-storage-service PRIVATE ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_pingsession.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_statfs.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_update_stats.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_writedata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_state.cpp ) diff --git a/cloud/filestore/libs/storage/service/CMakeLists.linux-x86_64.txt b/cloud/filestore/libs/storage/service/CMakeLists.linux-x86_64.txt index 22090c40682..5eda5bbf8d4 100644 --- a/cloud/filestore/libs/storage/service/CMakeLists.linux-x86_64.txt +++ b/cloud/filestore/libs/storage/service/CMakeLists.linux-x86_64.txt @@ -56,5 +56,6 @@ target_sources(filestore-libs-storage-service PRIVATE ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_readdata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_statfs.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_update_stats.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_writedata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_state.cpp ) diff --git a/cloud/filestore/libs/storage/service/CMakeLists.windows-x86_64.txt b/cloud/filestore/libs/storage/service/CMakeLists.windows-x86_64.txt index f7c1f0ba1ac..a3c502a2032 100644 --- a/cloud/filestore/libs/storage/service/CMakeLists.windows-x86_64.txt +++ b/cloud/filestore/libs/storage/service/CMakeLists.windows-x86_64.txt @@ -54,5 +54,6 @@ target_sources(filestore-libs-storage-service PRIVATE ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_pingsession.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_statfs.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_update_stats.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_actor_writedata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/service/service_state.cpp ) diff --git a/cloud/filestore/libs/storage/tablet/CMakeLists.darwin-x86_64.txt b/cloud/filestore/libs/storage/tablet/CMakeLists.darwin-x86_64.txt index 928c3c4088e..9b1e7190a76 100644 --- a/cloud/filestore/libs/storage/tablet/CMakeLists.darwin-x86_64.txt +++ b/cloud/filestore/libs/storage/tablet/CMakeLists.darwin-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(actors) add_subdirectory(model) add_subdirectory(protos) add_subdirectory(ut) @@ -66,6 +67,7 @@ target_sources(libs-storage-tablet PRIVATE ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_accessnode.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_acquirelock.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_addblob.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_adddata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_allocatedata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_change_storage_config.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_cleanup.cpp diff --git a/cloud/filestore/libs/storage/tablet/CMakeLists.linux-aarch64.txt b/cloud/filestore/libs/storage/tablet/CMakeLists.linux-aarch64.txt index e083d23a375..ebef897ce01 100644 --- a/cloud/filestore/libs/storage/tablet/CMakeLists.linux-aarch64.txt +++ b/cloud/filestore/libs/storage/tablet/CMakeLists.linux-aarch64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(actors) add_subdirectory(model) add_subdirectory(protos) add_subdirectory(ut) @@ -67,6 +68,7 @@ target_sources(libs-storage-tablet PRIVATE ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_accessnode.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_acquirelock.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_addblob.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_adddata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_allocatedata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_change_storage_config.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_cleanup.cpp diff --git a/cloud/filestore/libs/storage/tablet/CMakeLists.linux-x86_64.txt b/cloud/filestore/libs/storage/tablet/CMakeLists.linux-x86_64.txt index e083d23a375..ebef897ce01 100644 --- a/cloud/filestore/libs/storage/tablet/CMakeLists.linux-x86_64.txt +++ b/cloud/filestore/libs/storage/tablet/CMakeLists.linux-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(actors) add_subdirectory(model) add_subdirectory(protos) add_subdirectory(ut) @@ -67,6 +68,7 @@ target_sources(libs-storage-tablet PRIVATE ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_accessnode.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_acquirelock.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_addblob.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_adddata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_allocatedata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_change_storage_config.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_cleanup.cpp diff --git a/cloud/filestore/libs/storage/tablet/CMakeLists.windows-x86_64.txt b/cloud/filestore/libs/storage/tablet/CMakeLists.windows-x86_64.txt index 928c3c4088e..9b1e7190a76 100644 --- a/cloud/filestore/libs/storage/tablet/CMakeLists.windows-x86_64.txt +++ b/cloud/filestore/libs/storage/tablet/CMakeLists.windows-x86_64.txt @@ -6,6 +6,7 @@ # original buildsystem will not be accepted. +add_subdirectory(actors) add_subdirectory(model) add_subdirectory(protos) add_subdirectory(ut) @@ -66,6 +67,7 @@ target_sources(libs-storage-tablet PRIVATE ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_accessnode.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_acquirelock.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_addblob.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_adddata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_allocatedata.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_change_storage_config.cpp ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/tablet_actor_cleanup.cpp diff --git a/cloud/filestore/libs/storage/tablet/actors/CMakeLists.darwin-x86_64.txt b/cloud/filestore/libs/storage/tablet/actors/CMakeLists.darwin-x86_64.txt new file mode 100644 index 00000000000..79b8f54f4dc --- /dev/null +++ b/cloud/filestore/libs/storage/tablet/actors/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,20 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(storage-tablet-actors) +target_link_libraries(storage-tablet-actors PUBLIC + contrib-libs-cxxsupp + yutil + storage-tablet-model + core-libs-common +) +target_sources(storage-tablet-actors PRIVATE + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/actors/tablet_adddata.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/actors/tablet_writedata.cpp +) diff --git a/cloud/filestore/libs/storage/tablet/actors/CMakeLists.linux-aarch64.txt b/cloud/filestore/libs/storage/tablet/actors/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..118d27c081f --- /dev/null +++ b/cloud/filestore/libs/storage/tablet/actors/CMakeLists.linux-aarch64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + + +add_library(storage-tablet-actors) +target_link_libraries(storage-tablet-actors PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + storage-tablet-model + core-libs-common +) +target_sources(storage-tablet-actors PRIVATE + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/actors/tablet_adddata.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/actors/tablet_writedata.cpp +) diff --git a/cloud/filestore/libs/storage/tablet/actors/CMakeLists.linux-x86_64.txt b/cloud/filestore/libs/storage/tablet/actors/CMakeLists.linux-x86_64.txt new file mode 100644 index 00000000000..bd69273789d --- /dev/null +++ b/cloud/filestore/libs/storage/tablet/actors/CMakeLists.linux-x86_64.txt @@ -0,0 +1,21 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + +add_library(storage-tablet-actors) +target_link_libraries(storage-tablet-actors PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + tools-enum_parser-enum_serialization_runtime + storage-tablet-model + core-libs-common + libs-tablet-model +) +target_sources(storage-tablet-actors PRIVATE + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/actors/tablet_adddata.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/actors/tablet_writedata.cpp +) diff --git a/cloud/filestore/libs/storage/tablet/actors/CMakeLists.txt b/cloud/filestore/libs/storage/tablet/actors/CMakeLists.txt new file mode 100644 index 00000000000..f8b31df0c11 --- /dev/null +++ b/cloud/filestore/libs/storage/tablet/actors/CMakeLists.txt @@ -0,0 +1,17 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-aarch64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") + include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/cloud/filestore/libs/storage/tablet/actors/CMakeLists.windows-x86_64.txt b/cloud/filestore/libs/storage/tablet/actors/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..e3a6ff07290 --- /dev/null +++ b/cloud/filestore/libs/storage/tablet/actors/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated by the build system used internally in the Yandex monorepo. +# Only simple modifications are allowed (adding source-files to targets, adding simple properties +# like target_include_directories). These modifications will be ported to original +# ya.make files by maintainers. Any complex modifications which can't be ported back to the +# original buildsystem will not be accepted. + + +add_library(storage-tablet-actors) +target_link_libraries(storage-tablet-actors PUBLIC + contrib-libs-cxxsupp + yutil + storage-tablet-model + core-libs-common +) +target_sources(storage-tablet-actors PRIVATE + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/actors/tablet_adddata.cpp + ${CMAKE_SOURCE_DIR}/cloud/filestore/libs/storage/tablet/actors/tablet_writedata.cpp +)