aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbugaevskiy <bugaevskiy@yandex-team.com>2022-07-26 15:38:14 +0300
committerbugaevskiy <bugaevskiy@yandex-team.com>2022-07-26 15:38:14 +0300
commit101071021304b7656f91ac8fc1cd510593fc1eba (patch)
treef491047681cc27677a9caa4d0cb754a93ad82ceb
parentc0bf07f7422220a6a1dea02f3146aafa7afd1e65 (diff)
downloadydb-101071021304b7656f91ac8fc1cd510593fc1eba.tar.gz
Add boost/graph stub
-rw-r--r--CMakeLists.darwin.txt2
-rw-r--r--CMakeLists.linux.txt2
-rw-r--r--contrib/libs/hyperscan/CMakeLists.txt1
-rw-r--r--contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt48
-rw-r--r--contrib/restricted/boost/libs/filesystem/CMakeLists.linux.txt47
-rw-r--r--contrib/restricted/boost/libs/filesystem/CMakeLists.txt13
-rw-r--r--contrib/restricted/boost/libs/graph/CMakeLists.txt15
7 files changed, 128 insertions, 0 deletions
diff --git a/CMakeLists.darwin.txt b/CMakeLists.darwin.txt
index 7f861f0a44b..417873248a4 100644
--- a/CMakeLists.darwin.txt
+++ b/CMakeLists.darwin.txt
@@ -974,6 +974,8 @@ add_subdirectory(ydb/library/yql/udfs/common/json2)
add_subdirectory(ydb/library/yql/minikql/jsonpath)
add_subdirectory(library/cpp/regex/hyperscan)
add_subdirectory(contrib/libs/hyperscan)
+add_subdirectory(contrib/restricted/boost/libs/graph)
+add_subdirectory(contrib/restricted/boost/libs/filesystem)
add_subdirectory(contrib/libs/hyperscan/runtime_core2)
add_subdirectory(contrib/libs/hyperscan/runtime_corei7)
add_subdirectory(contrib/libs/hyperscan/runtime_avx2)
diff --git a/CMakeLists.linux.txt b/CMakeLists.linux.txt
index 3e776a37441..ea5cc0499c5 100644
--- a/CMakeLists.linux.txt
+++ b/CMakeLists.linux.txt
@@ -990,6 +990,8 @@ add_subdirectory(library/cpp/hyperloglog)
add_subdirectory(ydb/library/yql/udfs/common/hyperscan)
add_subdirectory(library/cpp/regex/hyperscan)
add_subdirectory(contrib/libs/hyperscan)
+add_subdirectory(contrib/restricted/boost/libs/graph)
+add_subdirectory(contrib/restricted/boost/libs/filesystem)
add_subdirectory(contrib/libs/hyperscan/runtime_core2)
add_subdirectory(contrib/libs/hyperscan/runtime_corei7)
add_subdirectory(contrib/libs/hyperscan/runtime_avx2)
diff --git a/contrib/libs/hyperscan/CMakeLists.txt b/contrib/libs/hyperscan/CMakeLists.txt
index a7a2cc5e5af..df099961627 100644
--- a/contrib/libs/hyperscan/CMakeLists.txt
+++ b/contrib/libs/hyperscan/CMakeLists.txt
@@ -20,6 +20,7 @@ target_include_directories(contrib-libs-hyperscan PRIVATE
target_link_libraries(contrib-libs-hyperscan PUBLIC
contrib-libs-cxxsupp
contrib-restricted-boost
+ boost-libs-graph
)
target_sources(contrib-libs-hyperscan PRIVATE
${CMAKE_SOURCE_DIR}/contrib/libs/hyperscan/src/alloc.c
diff --git a/contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt b/contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..56946959bf5
--- /dev/null
+++ b/contrib/restricted/boost/libs/filesystem/CMakeLists.darwin.txt
@@ -0,0 +1,48 @@
+
+# This file was gererated 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(boost-libs-filesystem)
+target_compile_options(boost-libs-filesystem PRIVATE
+ -DBOOST_ATOMIC_STATIC_LINK=1
+ -DBOOST_All_STATIC_LINK=1
+ -DBOOST_CHRONO_STATIC_LINK=1
+ -DBOOST_SYSTEM_STATIC_LINK=1
+ -DBOOST_TIMER_STATIC_LINK=1
+ -DBOOST_ALL_NO_LIB=1
+ -DBOOST_ATOMIC_SOURCE
+ -DBOOST_COROUTINES_SOURCE
+ -DBOOST_DISABLE_ASSERTS
+ -DBOOST_SPIRIT_USE_PHOENIX_V3=1
+ -DBOOST_SYSTEM_NO_DEPRECATED
+ -DBOOST_THREAD_BUILD_LIB=1
+ -DBOOST_THREAD_DONT_USE_CHRONO=1
+ -DBOOST_THREAD_NO_LIB=1
+ -DBOOST_THREAD_USE_LIB=1
+ -DDATE_TIME_INLINE
+ -DBOOST_THREAD_DONT_USE_CHRONO
+ -DBOOST_THREAD_POSIX
+ -D_DARWIN_C_SOURCE=1
+ -DBOOST_FILESYSTEM_STATIC_LINK=1
+ -Wno-everything
+)
+target_link_libraries(boost-libs-filesystem PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+ boost-libs-system
+)
+target_sources(boost-libs-filesystem PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/codecvt_error_category.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/operations.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path_traits.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/portability.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/unique_path.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/utf8_codecvt_facet.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.cpp
+)
diff --git a/contrib/restricted/boost/libs/filesystem/CMakeLists.linux.txt b/contrib/restricted/boost/libs/filesystem/CMakeLists.linux.txt
new file mode 100644
index 00000000000..a43f47ce488
--- /dev/null
+++ b/contrib/restricted/boost/libs/filesystem/CMakeLists.linux.txt
@@ -0,0 +1,47 @@
+
+# This file was gererated 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(boost-libs-filesystem)
+target_compile_options(boost-libs-filesystem PRIVATE
+ -DBOOST_ATOMIC_STATIC_LINK=1
+ -DBOOST_All_STATIC_LINK=1
+ -DBOOST_CHRONO_STATIC_LINK=1
+ -DBOOST_SYSTEM_STATIC_LINK=1
+ -DBOOST_TIMER_STATIC_LINK=1
+ -DBOOST_ALL_NO_LIB=1
+ -DBOOST_ATOMIC_SOURCE
+ -DBOOST_COROUTINES_SOURCE
+ -DBOOST_DISABLE_ASSERTS
+ -DBOOST_SPIRIT_USE_PHOENIX_V3=1
+ -DBOOST_SYSTEM_NO_DEPRECATED
+ -DBOOST_THREAD_BUILD_LIB=1
+ -DBOOST_THREAD_DONT_USE_CHRONO=1
+ -DBOOST_THREAD_NO_LIB=1
+ -DBOOST_THREAD_USE_LIB=1
+ -DDATE_TIME_INLINE
+ -DBOOST_THREAD_DONT_USE_CHRONO
+ -DBOOST_THREAD_POSIX
+ -DBOOST_FILESYSTEM_STATIC_LINK=1
+ -Wno-everything
+)
+target_link_libraries(boost-libs-filesystem PUBLIC
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+ boost-libs-system
+)
+target_sources(boost-libs-filesystem PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/codecvt_error_category.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/operations.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/path_traits.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/portability.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/unique_path.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/utf8_codecvt_facet.cpp
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/libs/filesystem/src/windows_file_codecvt.cpp
+)
diff --git a/contrib/restricted/boost/libs/filesystem/CMakeLists.txt b/contrib/restricted/boost/libs/filesystem/CMakeLists.txt
new file mode 100644
index 00000000000..fc7b1ee73ce
--- /dev/null
+++ b/contrib/restricted/boost/libs/filesystem/CMakeLists.txt
@@ -0,0 +1,13 @@
+
+# This file was gererated 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 (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX AND NOT APPLE)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/restricted/boost/libs/graph/CMakeLists.txt b/contrib/restricted/boost/libs/graph/CMakeLists.txt
new file mode 100644
index 00000000000..c12fb024c71
--- /dev/null
+++ b/contrib/restricted/boost/libs/graph/CMakeLists.txt
@@ -0,0 +1,15 @@
+
+# This file was gererated 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(boost-libs-graph INTERFACE)
+target_link_libraries(boost-libs-graph INTERFACE
+ contrib-libs-cxxsupp
+ contrib-restricted-boost
+ boost-libs-filesystem
+)