Skip to content

Commit

Permalink
fix cmake build
Browse files Browse the repository at this point in the history
  • Loading branch information
debnatkh committed Apr 2, 2024
1 parent 0c5b7d3 commit 63852d5
Show file tree
Hide file tree
Showing 13 changed files with 110 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# original buildsystem will not be accepted.


add_subdirectory(actors)
add_subdirectory(model)
add_subdirectory(protos)
add_subdirectory(ut)
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# original buildsystem will not be accepted.


add_subdirectory(actors)
add_subdirectory(model)
add_subdirectory(protos)
add_subdirectory(ut)
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# original buildsystem will not be accepted.


add_subdirectory(actors)
add_subdirectory(model)
add_subdirectory(protos)
add_subdirectory(ut)
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
# original buildsystem will not be accepted.


add_subdirectory(actors)
add_subdirectory(model)
add_subdirectory(protos)
add_subdirectory(ut)
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
)
Original file line number Diff line number Diff line change
@@ -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
)
Original file line number Diff line number Diff line change
@@ -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
)
17 changes: 17 additions & 0 deletions cloud/filestore/libs/storage/tablet/actors/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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()
Original file line number Diff line number Diff line change
@@ -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
)

0 comments on commit 63852d5

Please sign in to comment.