Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpeye committed Mar 11, 2024
1 parent fc45477 commit d5f5bae
Show file tree
Hide file tree
Showing 9 changed files with 85 additions and 7 deletions.
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(benchmark)
add_subdirectory(model)
add_subdirectory(testlib)
Expand All @@ -31,6 +32,7 @@ target_link_libraries(libs-storage-disk_agent PUBLIC
libs-spdk-iface
libs-storage-api
libs-storage-core
storage-disk_agent-actors
storage-disk_agent-model
libs-storage-disk_common
libs-storage-model
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

# 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-disk_agent-actors)
target_link_libraries(storage-disk_agent-actors PUBLIC
contrib-libs-cxxsupp
yutil
blockstore-libs-common
cpp-actors-core
)
target_sources(storage-disk_agent-actors PRIVATE
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/disk_agent/actors/session_cache_actor.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_subdirectory(ut)

add_library(storage-disk_agent-actors)
target_link_libraries(storage-disk_agent-actors PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
blockstore-libs-common
cpp-actors-core
)
target_sources(storage-disk_agent-actors PRIVATE
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/disk_agent/actors/session_cache_actor.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_subdirectory(ut)

add_library(storage-disk_agent-actors)
target_link_libraries(storage-disk_agent-actors PUBLIC
contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
blockstore-libs-common
cpp-actors-core
)
target_sources(storage-disk_agent-actors PRIVATE
${CMAKE_SOURCE_DIR}/cloud/blockstore/libs/storage/disk_agent/actors/session_cache_actor.cpp
)
17 changes: 17 additions & 0 deletions cloud/blockstore/libs/storage/disk_agent/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
Expand Up @@ -6,10 +6,9 @@
#include <cloud/storage/core/libs/actors/helpers.h>
#include <cloud/storage/core/libs/common/error.h>

#include <contrib/ydb/library/actors/core/actor_bootstrapped.h>
#include <contrib/ydb/library/actors/core/events.h>
#include <contrib/ydb/library/actors/core/log.h>

#include <library/cpp/actors/core/actor_bootstrapped.h>
#include <library/cpp/actors/core/events.h>
#include <library/cpp/actors/core/log.h>
#include <library/cpp/protobuf/util/pb_io.h>

#include <util/system/fs.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include <cloud/blockstore/libs/storage/core/request_info.h>

#include <contrib/ydb/library/actors/core/actor.h>
#include <library/cpp/actors/core/actor.h>

#include <memory>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <cloud/blockstore/libs/storage/core/request_info.h>

#include <contrib/ydb/core/base/appdata.h>
#include <ydb/core/base/appdata.h>

#include <util/string/join.h>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "disk_agent_actor.h"

#include <contrib/ydb/core/base/appdata.h>
#include <ydb/core/base/appdata.h>

namespace NCloud::NBlockStore::NStorage {

Expand Down

0 comments on commit d5f5bae

Please sign in to comment.