diff options
author | dcherednik <dcherednik@ydb.tech> | 2022-11-22 13:34:53 +0300 |
---|---|---|
committer | dcherednik <dcherednik@ydb.tech> | 2022-11-22 13:34:53 +0300 |
commit | fced20b9af826fdc3ec0886fe1f9740467ffba72 (patch) | |
tree | 6200ffc2db79a07a915454606f78fcd8221780ab /contrib/restricted | |
parent | 3e5907562bf4dae9cf824bd61032a343e2d294fd (diff) | |
download | ydb-fced20b9af826fdc3ec0886fe1f9740467ffba72.tar.gz |
Build hyperscan udf on x86_64 only.
Diffstat (limited to 'contrib/restricted')
16 files changed, 818 insertions, 279 deletions
diff --git a/contrib/restricted/boost/CMakeLists.darwin.txt b/contrib/restricted/boost/CMakeLists.darwin.txt new file mode 100644 index 0000000000..1b4eb0485e --- /dev/null +++ b/contrib/restricted/boost/CMakeLists.darwin.txt @@ -0,0 +1,157 @@ + +# 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_subdirectory(algorithm) +add_subdirectory(align) +add_subdirectory(any) +add_subdirectory(array) +add_subdirectory(asio) +add_subdirectory(assert) +add_subdirectory(atomic) +add_subdirectory(bimap) +add_subdirectory(bind) +add_subdirectory(chrono) +add_subdirectory(concept_check) +add_subdirectory(config) +add_subdirectory(container) +add_subdirectory(container_hash) +add_subdirectory(context) +add_subdirectory(conversion) +add_subdirectory(core) +add_subdirectory(coroutine) +add_subdirectory(crc) +add_subdirectory(date_time) +add_subdirectory(detail) +add_subdirectory(dynamic_bitset) +add_subdirectory(endian) +add_subdirectory(exception) +add_subdirectory(filesystem) +add_subdirectory(foreach) +add_subdirectory(format) +add_subdirectory(function) +add_subdirectory(function_types) +add_subdirectory(functional) +add_subdirectory(fusion) +add_subdirectory(graph) +add_subdirectory(icl) +add_subdirectory(integer) +add_subdirectory(interprocess) +add_subdirectory(interval) +add_subdirectory(intrusive) +add_subdirectory(io) +add_subdirectory(iostreams) +add_subdirectory(iterator) +add_subdirectory(lambda) +add_subdirectory(lexical_cast) +add_subdirectory(locale) +add_subdirectory(logic) +add_subdirectory(math) +add_subdirectory(move) +add_subdirectory(mp11) +add_subdirectory(mpl) +add_subdirectory(multi_array) +add_subdirectory(multi_index) +add_subdirectory(multiprecision) +add_subdirectory(numeric_conversion) +add_subdirectory(optional) +add_subdirectory(parameter) +add_subdirectory(phoenix) +add_subdirectory(pool) +add_subdirectory(predef) +add_subdirectory(preprocessor) +add_subdirectory(program_options) +add_subdirectory(property_map) +add_subdirectory(property_tree) +add_subdirectory(proto) +add_subdirectory(random) +add_subdirectory(range) +add_subdirectory(ratio) +add_subdirectory(rational) +add_subdirectory(regex) +add_subdirectory(serialization) +add_subdirectory(smart_ptr) +add_subdirectory(spirit) +add_subdirectory(static_assert) +add_subdirectory(system) +add_subdirectory(thread) +add_subdirectory(throw_exception) +add_subdirectory(tokenizer) +add_subdirectory(tti) +add_subdirectory(tuple) +add_subdirectory(type_index) +add_subdirectory(type_traits) +add_subdirectory(typeof) +add_subdirectory(ublas) +add_subdirectory(units) +add_subdirectory(unordered) +add_subdirectory(utility) +add_subdirectory(uuid) +add_subdirectory(variant) +add_subdirectory(variant2) +add_subdirectory(winapi) +add_subdirectory(xpressive) + +add_library(contrib-restricted-boost INTERFACE) +target_link_libraries(contrib-restricted-boost INTERFACE + contrib-libs-cxxsupp + restricted-boost-algorithm + restricted-boost-array + restricted-boost-assert + restricted-boost-bind + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container + restricted-boost-container_hash + restricted-boost-conversion + restricted-boost-core + restricted-boost-detail + restricted-boost-dynamic_bitset + restricted-boost-endian + restricted-boost-exception + restricted-boost-foreach + restricted-boost-function + restricted-boost-function_types + restricted-boost-fusion + restricted-boost-integer + restricted-boost-intrusive + restricted-boost-iterator + restricted-boost-lambda + restricted-boost-lexical_cast + restricted-boost-math + restricted-boost-move + restricted-boost-mpl + restricted-boost-multi_array + restricted-boost-multi_index + restricted-boost-numeric_conversion + restricted-boost-optional + restricted-boost-parameter + restricted-boost-phoenix + restricted-boost-predef + restricted-boost-preprocessor + restricted-boost-property_tree + restricted-boost-proto + restricted-boost-random + restricted-boost-range + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tokenizer + restricted-boost-tti + restricted-boost-tuple + restricted-boost-type_index + restricted-boost-type_traits + restricted-boost-typeof + restricted-boost-ublas + restricted-boost-units + restricted-boost-unordered + restricted-boost-utility + restricted-boost-uuid + restricted-boost-variant + restricted-boost-winapi + restricted-boost-xpressive +) diff --git a/contrib/restricted/boost/CMakeLists.linux-aarch64.txt b/contrib/restricted/boost/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..b767ae0013 --- /dev/null +++ b/contrib/restricted/boost/CMakeLists.linux-aarch64.txt @@ -0,0 +1,153 @@ + +# 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_subdirectory(algorithm) +add_subdirectory(align) +add_subdirectory(any) +add_subdirectory(array) +add_subdirectory(asio) +add_subdirectory(assert) +add_subdirectory(atomic) +add_subdirectory(bind) +add_subdirectory(chrono) +add_subdirectory(concept_check) +add_subdirectory(config) +add_subdirectory(container) +add_subdirectory(container_hash) +add_subdirectory(context) +add_subdirectory(conversion) +add_subdirectory(core) +add_subdirectory(coroutine) +add_subdirectory(crc) +add_subdirectory(date_time) +add_subdirectory(detail) +add_subdirectory(dynamic_bitset) +add_subdirectory(endian) +add_subdirectory(exception) +add_subdirectory(filesystem) +add_subdirectory(foreach) +add_subdirectory(format) +add_subdirectory(function) +add_subdirectory(function_types) +add_subdirectory(functional) +add_subdirectory(fusion) +add_subdirectory(integer) +add_subdirectory(interprocess) +add_subdirectory(interval) +add_subdirectory(intrusive) +add_subdirectory(io) +add_subdirectory(iostreams) +add_subdirectory(iterator) +add_subdirectory(lambda) +add_subdirectory(lexical_cast) +add_subdirectory(locale) +add_subdirectory(logic) +add_subdirectory(math) +add_subdirectory(move) +add_subdirectory(mp11) +add_subdirectory(mpl) +add_subdirectory(multi_array) +add_subdirectory(multi_index) +add_subdirectory(multiprecision) +add_subdirectory(numeric_conversion) +add_subdirectory(optional) +add_subdirectory(parameter) +add_subdirectory(phoenix) +add_subdirectory(pool) +add_subdirectory(predef) +add_subdirectory(preprocessor) +add_subdirectory(program_options) +add_subdirectory(property_tree) +add_subdirectory(proto) +add_subdirectory(random) +add_subdirectory(range) +add_subdirectory(ratio) +add_subdirectory(rational) +add_subdirectory(regex) +add_subdirectory(serialization) +add_subdirectory(smart_ptr) +add_subdirectory(spirit) +add_subdirectory(static_assert) +add_subdirectory(system) +add_subdirectory(thread) +add_subdirectory(throw_exception) +add_subdirectory(tokenizer) +add_subdirectory(tti) +add_subdirectory(tuple) +add_subdirectory(type_index) +add_subdirectory(type_traits) +add_subdirectory(typeof) +add_subdirectory(ublas) +add_subdirectory(units) +add_subdirectory(unordered) +add_subdirectory(utility) +add_subdirectory(uuid) +add_subdirectory(variant) +add_subdirectory(variant2) +add_subdirectory(winapi) +add_subdirectory(xpressive) + +add_library(contrib-restricted-boost INTERFACE) +target_link_libraries(contrib-restricted-boost INTERFACE + contrib-libs-cxxsupp + restricted-boost-algorithm + restricted-boost-array + restricted-boost-assert + restricted-boost-bind + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container + restricted-boost-container_hash + restricted-boost-conversion + restricted-boost-core + restricted-boost-detail + restricted-boost-dynamic_bitset + restricted-boost-endian + restricted-boost-exception + restricted-boost-foreach + restricted-boost-function + restricted-boost-function_types + restricted-boost-fusion + restricted-boost-integer + restricted-boost-intrusive + restricted-boost-iterator + restricted-boost-lambda + restricted-boost-lexical_cast + restricted-boost-math + restricted-boost-move + restricted-boost-mpl + restricted-boost-multi_array + restricted-boost-multi_index + restricted-boost-numeric_conversion + restricted-boost-optional + restricted-boost-parameter + restricted-boost-phoenix + restricted-boost-predef + restricted-boost-preprocessor + restricted-boost-property_tree + restricted-boost-proto + restricted-boost-random + restricted-boost-range + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tokenizer + restricted-boost-tti + restricted-boost-tuple + restricted-boost-type_index + restricted-boost-type_traits + restricted-boost-typeof + restricted-boost-ublas + restricted-boost-units + restricted-boost-unordered + restricted-boost-utility + restricted-boost-uuid + restricted-boost-variant + restricted-boost-winapi + restricted-boost-xpressive +) diff --git a/contrib/restricted/boost/CMakeLists.linux.txt b/contrib/restricted/boost/CMakeLists.linux.txt new file mode 100644 index 0000000000..1b4eb0485e --- /dev/null +++ b/contrib/restricted/boost/CMakeLists.linux.txt @@ -0,0 +1,157 @@ + +# 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_subdirectory(algorithm) +add_subdirectory(align) +add_subdirectory(any) +add_subdirectory(array) +add_subdirectory(asio) +add_subdirectory(assert) +add_subdirectory(atomic) +add_subdirectory(bimap) +add_subdirectory(bind) +add_subdirectory(chrono) +add_subdirectory(concept_check) +add_subdirectory(config) +add_subdirectory(container) +add_subdirectory(container_hash) +add_subdirectory(context) +add_subdirectory(conversion) +add_subdirectory(core) +add_subdirectory(coroutine) +add_subdirectory(crc) +add_subdirectory(date_time) +add_subdirectory(detail) +add_subdirectory(dynamic_bitset) +add_subdirectory(endian) +add_subdirectory(exception) +add_subdirectory(filesystem) +add_subdirectory(foreach) +add_subdirectory(format) +add_subdirectory(function) +add_subdirectory(function_types) +add_subdirectory(functional) +add_subdirectory(fusion) +add_subdirectory(graph) +add_subdirectory(icl) +add_subdirectory(integer) +add_subdirectory(interprocess) +add_subdirectory(interval) +add_subdirectory(intrusive) +add_subdirectory(io) +add_subdirectory(iostreams) +add_subdirectory(iterator) +add_subdirectory(lambda) +add_subdirectory(lexical_cast) +add_subdirectory(locale) +add_subdirectory(logic) +add_subdirectory(math) +add_subdirectory(move) +add_subdirectory(mp11) +add_subdirectory(mpl) +add_subdirectory(multi_array) +add_subdirectory(multi_index) +add_subdirectory(multiprecision) +add_subdirectory(numeric_conversion) +add_subdirectory(optional) +add_subdirectory(parameter) +add_subdirectory(phoenix) +add_subdirectory(pool) +add_subdirectory(predef) +add_subdirectory(preprocessor) +add_subdirectory(program_options) +add_subdirectory(property_map) +add_subdirectory(property_tree) +add_subdirectory(proto) +add_subdirectory(random) +add_subdirectory(range) +add_subdirectory(ratio) +add_subdirectory(rational) +add_subdirectory(regex) +add_subdirectory(serialization) +add_subdirectory(smart_ptr) +add_subdirectory(spirit) +add_subdirectory(static_assert) +add_subdirectory(system) +add_subdirectory(thread) +add_subdirectory(throw_exception) +add_subdirectory(tokenizer) +add_subdirectory(tti) +add_subdirectory(tuple) +add_subdirectory(type_index) +add_subdirectory(type_traits) +add_subdirectory(typeof) +add_subdirectory(ublas) +add_subdirectory(units) +add_subdirectory(unordered) +add_subdirectory(utility) +add_subdirectory(uuid) +add_subdirectory(variant) +add_subdirectory(variant2) +add_subdirectory(winapi) +add_subdirectory(xpressive) + +add_library(contrib-restricted-boost INTERFACE) +target_link_libraries(contrib-restricted-boost INTERFACE + contrib-libs-cxxsupp + restricted-boost-algorithm + restricted-boost-array + restricted-boost-assert + restricted-boost-bind + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container + restricted-boost-container_hash + restricted-boost-conversion + restricted-boost-core + restricted-boost-detail + restricted-boost-dynamic_bitset + restricted-boost-endian + restricted-boost-exception + restricted-boost-foreach + restricted-boost-function + restricted-boost-function_types + restricted-boost-fusion + restricted-boost-integer + restricted-boost-intrusive + restricted-boost-iterator + restricted-boost-lambda + restricted-boost-lexical_cast + restricted-boost-math + restricted-boost-move + restricted-boost-mpl + restricted-boost-multi_array + restricted-boost-multi_index + restricted-boost-numeric_conversion + restricted-boost-optional + restricted-boost-parameter + restricted-boost-phoenix + restricted-boost-predef + restricted-boost-preprocessor + restricted-boost-property_tree + restricted-boost-proto + restricted-boost-random + restricted-boost-range + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tokenizer + restricted-boost-tti + restricted-boost-tuple + restricted-boost-type_index + restricted-boost-type_traits + restricted-boost-typeof + restricted-boost-ublas + restricted-boost-units + restricted-boost-unordered + restricted-boost-utility + restricted-boost-uuid + restricted-boost-variant + restricted-boost-winapi + restricted-boost-xpressive +) diff --git a/contrib/restricted/boost/CMakeLists.txt b/contrib/restricted/boost/CMakeLists.txt index 1b4eb0485e..3e0811fb22 100644 --- a/contrib/restricted/boost/CMakeLists.txt +++ b/contrib/restricted/boost/CMakeLists.txt @@ -6,152 +6,10 @@ # original buildsystem will not be accepted. -add_subdirectory(algorithm) -add_subdirectory(align) -add_subdirectory(any) -add_subdirectory(array) -add_subdirectory(asio) -add_subdirectory(assert) -add_subdirectory(atomic) -add_subdirectory(bimap) -add_subdirectory(bind) -add_subdirectory(chrono) -add_subdirectory(concept_check) -add_subdirectory(config) -add_subdirectory(container) -add_subdirectory(container_hash) -add_subdirectory(context) -add_subdirectory(conversion) -add_subdirectory(core) -add_subdirectory(coroutine) -add_subdirectory(crc) -add_subdirectory(date_time) -add_subdirectory(detail) -add_subdirectory(dynamic_bitset) -add_subdirectory(endian) -add_subdirectory(exception) -add_subdirectory(filesystem) -add_subdirectory(foreach) -add_subdirectory(format) -add_subdirectory(function) -add_subdirectory(function_types) -add_subdirectory(functional) -add_subdirectory(fusion) -add_subdirectory(graph) -add_subdirectory(icl) -add_subdirectory(integer) -add_subdirectory(interprocess) -add_subdirectory(interval) -add_subdirectory(intrusive) -add_subdirectory(io) -add_subdirectory(iostreams) -add_subdirectory(iterator) -add_subdirectory(lambda) -add_subdirectory(lexical_cast) -add_subdirectory(locale) -add_subdirectory(logic) -add_subdirectory(math) -add_subdirectory(move) -add_subdirectory(mp11) -add_subdirectory(mpl) -add_subdirectory(multi_array) -add_subdirectory(multi_index) -add_subdirectory(multiprecision) -add_subdirectory(numeric_conversion) -add_subdirectory(optional) -add_subdirectory(parameter) -add_subdirectory(phoenix) -add_subdirectory(pool) -add_subdirectory(predef) -add_subdirectory(preprocessor) -add_subdirectory(program_options) -add_subdirectory(property_map) -add_subdirectory(property_tree) -add_subdirectory(proto) -add_subdirectory(random) -add_subdirectory(range) -add_subdirectory(ratio) -add_subdirectory(rational) -add_subdirectory(regex) -add_subdirectory(serialization) -add_subdirectory(smart_ptr) -add_subdirectory(spirit) -add_subdirectory(static_assert) -add_subdirectory(system) -add_subdirectory(thread) -add_subdirectory(throw_exception) -add_subdirectory(tokenizer) -add_subdirectory(tti) -add_subdirectory(tuple) -add_subdirectory(type_index) -add_subdirectory(type_traits) -add_subdirectory(typeof) -add_subdirectory(ublas) -add_subdirectory(units) -add_subdirectory(unordered) -add_subdirectory(utility) -add_subdirectory(uuid) -add_subdirectory(variant) -add_subdirectory(variant2) -add_subdirectory(winapi) -add_subdirectory(xpressive) - -add_library(contrib-restricted-boost INTERFACE) -target_link_libraries(contrib-restricted-boost INTERFACE - contrib-libs-cxxsupp - restricted-boost-algorithm - restricted-boost-array - restricted-boost-assert - restricted-boost-bind - restricted-boost-concept_check - restricted-boost-config - restricted-boost-container - restricted-boost-container_hash - restricted-boost-conversion - restricted-boost-core - restricted-boost-detail - restricted-boost-dynamic_bitset - restricted-boost-endian - restricted-boost-exception - restricted-boost-foreach - restricted-boost-function - restricted-boost-function_types - restricted-boost-fusion - restricted-boost-integer - restricted-boost-intrusive - restricted-boost-iterator - restricted-boost-lambda - restricted-boost-lexical_cast - restricted-boost-math - restricted-boost-move - restricted-boost-mpl - restricted-boost-multi_array - restricted-boost-multi_index - restricted-boost-numeric_conversion - restricted-boost-optional - restricted-boost-parameter - restricted-boost-phoenix - restricted-boost-predef - restricted-boost-preprocessor - restricted-boost-property_tree - restricted-boost-proto - restricted-boost-random - restricted-boost-range - restricted-boost-smart_ptr - restricted-boost-static_assert - restricted-boost-throw_exception - restricted-boost-tokenizer - restricted-boost-tti - restricted-boost-tuple - restricted-boost-type_index - restricted-boost-type_traits - restricted-boost-typeof - restricted-boost-ublas - restricted-boost-units - restricted-boost-unordered - restricted-boost-utility - restricted-boost-uuid - restricted-boost-variant - restricted-boost-winapi - restricted-boost-xpressive -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/boost/bimap/CMakeLists.darwin.txt b/contrib/restricted/boost/bimap/CMakeLists.darwin.txt new file mode 100644 index 0000000000..8ba28dd032 --- /dev/null +++ b/contrib/restricted/boost/bimap/CMakeLists.darwin.txt @@ -0,0 +1,32 @@ + +# 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(restricted-boost-bimap INTERFACE) +target_include_directories(restricted-boost-bimap INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/bimap/include +) +target_link_libraries(restricted-boost-bimap INTERFACE + contrib-libs-cxxsupp + yutil + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container_hash + restricted-boost-core + restricted-boost-iterator + restricted-boost-lambda + restricted-boost-mpl + restricted-boost-multi_index + restricted-boost-preprocessor + restricted-boost-property_map + restricted-boost-serialization + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/bimap/CMakeLists.linux.txt b/contrib/restricted/boost/bimap/CMakeLists.linux.txt new file mode 100644 index 0000000000..8ba28dd032 --- /dev/null +++ b/contrib/restricted/boost/bimap/CMakeLists.linux.txt @@ -0,0 +1,32 @@ + +# 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(restricted-boost-bimap INTERFACE) +target_include_directories(restricted-boost-bimap INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/bimap/include +) +target_link_libraries(restricted-boost-bimap INTERFACE + contrib-libs-cxxsupp + yutil + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container_hash + restricted-boost-core + restricted-boost-iterator + restricted-boost-lambda + restricted-boost-mpl + restricted-boost-multi_index + restricted-boost-preprocessor + restricted-boost-property_map + restricted-boost-serialization + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/bimap/CMakeLists.txt b/contrib/restricted/boost/bimap/CMakeLists.txt index 8ba28dd032..79468a5d8d 100644 --- a/contrib/restricted/boost/bimap/CMakeLists.txt +++ b/contrib/restricted/boost/bimap/CMakeLists.txt @@ -6,27 +6,8 @@ # original buildsystem will not be accepted. - -add_library(restricted-boost-bimap INTERFACE) -target_include_directories(restricted-boost-bimap INTERFACE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/bimap/include -) -target_link_libraries(restricted-boost-bimap INTERFACE - contrib-libs-cxxsupp - yutil - restricted-boost-concept_check - restricted-boost-config - restricted-boost-container_hash - restricted-boost-core - restricted-boost-iterator - restricted-boost-lambda - restricted-boost-mpl - restricted-boost-multi_index - restricted-boost-preprocessor - restricted-boost-property_map - restricted-boost-serialization - restricted-boost-static_assert - restricted-boost-throw_exception - restricted-boost-type_traits - restricted-boost-utility -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/boost/graph/CMakeLists.darwin.txt b/contrib/restricted/boost/graph/CMakeLists.darwin.txt new file mode 100644 index 0000000000..b2075cc816 --- /dev/null +++ b/contrib/restricted/boost/graph/CMakeLists.darwin.txt @@ -0,0 +1,64 @@ + +# 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(restricted-boost-graph) +target_compile_options(restricted-boost-graph PRIVATE + -Wno-everything +) +target_include_directories(restricted-boost-graph PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/include +) +target_link_libraries(restricted-boost-graph PUBLIC + contrib-libs-cxxsupp + restricted-boost-algorithm + restricted-boost-any + restricted-boost-array + restricted-boost-assert + restricted-boost-bimap + restricted-boost-bind + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container_hash + restricted-boost-conversion + restricted-boost-core + restricted-boost-detail + restricted-boost-foreach + restricted-boost-function + restricted-boost-integer + restricted-boost-iterator + restricted-boost-lexical_cast + restricted-boost-math + restricted-boost-move + restricted-boost-mpl + restricted-boost-multi_index + restricted-boost-optional + restricted-boost-parameter + restricted-boost-preprocessor + restricted-boost-property_map + restricted-boost-property_tree + restricted-boost-random + restricted-boost-range + restricted-boost-regex + restricted-boost-serialization + restricted-boost-smart_ptr + restricted-boost-spirit + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tti + restricted-boost-tuple + restricted-boost-type_traits + restricted-boost-typeof + restricted-boost-unordered + restricted-boost-utility + restricted-boost-xpressive +) +target_sources(restricted-boost-graph PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/src/graphml.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/src/read_graphviz_new.cpp +) diff --git a/contrib/restricted/boost/graph/CMakeLists.linux.txt b/contrib/restricted/boost/graph/CMakeLists.linux.txt new file mode 100644 index 0000000000..b2075cc816 --- /dev/null +++ b/contrib/restricted/boost/graph/CMakeLists.linux.txt @@ -0,0 +1,64 @@ + +# 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(restricted-boost-graph) +target_compile_options(restricted-boost-graph PRIVATE + -Wno-everything +) +target_include_directories(restricted-boost-graph PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/include +) +target_link_libraries(restricted-boost-graph PUBLIC + contrib-libs-cxxsupp + restricted-boost-algorithm + restricted-boost-any + restricted-boost-array + restricted-boost-assert + restricted-boost-bimap + restricted-boost-bind + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container_hash + restricted-boost-conversion + restricted-boost-core + restricted-boost-detail + restricted-boost-foreach + restricted-boost-function + restricted-boost-integer + restricted-boost-iterator + restricted-boost-lexical_cast + restricted-boost-math + restricted-boost-move + restricted-boost-mpl + restricted-boost-multi_index + restricted-boost-optional + restricted-boost-parameter + restricted-boost-preprocessor + restricted-boost-property_map + restricted-boost-property_tree + restricted-boost-random + restricted-boost-range + restricted-boost-regex + restricted-boost-serialization + restricted-boost-smart_ptr + restricted-boost-spirit + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-tti + restricted-boost-tuple + restricted-boost-type_traits + restricted-boost-typeof + restricted-boost-unordered + restricted-boost-utility + restricted-boost-xpressive +) +target_sources(restricted-boost-graph PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/src/graphml.cpp + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/src/read_graphviz_new.cpp +) diff --git a/contrib/restricted/boost/graph/CMakeLists.txt b/contrib/restricted/boost/graph/CMakeLists.txt index b2075cc816..79468a5d8d 100644 --- a/contrib/restricted/boost/graph/CMakeLists.txt +++ b/contrib/restricted/boost/graph/CMakeLists.txt @@ -6,59 +6,8 @@ # original buildsystem will not be accepted. - -add_library(restricted-boost-graph) -target_compile_options(restricted-boost-graph PRIVATE - -Wno-everything -) -target_include_directories(restricted-boost-graph PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/include -) -target_link_libraries(restricted-boost-graph PUBLIC - contrib-libs-cxxsupp - restricted-boost-algorithm - restricted-boost-any - restricted-boost-array - restricted-boost-assert - restricted-boost-bimap - restricted-boost-bind - restricted-boost-concept_check - restricted-boost-config - restricted-boost-container_hash - restricted-boost-conversion - restricted-boost-core - restricted-boost-detail - restricted-boost-foreach - restricted-boost-function - restricted-boost-integer - restricted-boost-iterator - restricted-boost-lexical_cast - restricted-boost-math - restricted-boost-move - restricted-boost-mpl - restricted-boost-multi_index - restricted-boost-optional - restricted-boost-parameter - restricted-boost-preprocessor - restricted-boost-property_map - restricted-boost-property_tree - restricted-boost-random - restricted-boost-range - restricted-boost-regex - restricted-boost-serialization - restricted-boost-smart_ptr - restricted-boost-spirit - restricted-boost-static_assert - restricted-boost-throw_exception - restricted-boost-tti - restricted-boost-tuple - restricted-boost-type_traits - restricted-boost-typeof - restricted-boost-unordered - restricted-boost-utility - restricted-boost-xpressive -) -target_sources(restricted-boost-graph PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/src/graphml.cpp - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/graph/src/read_graphviz_new.cpp -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/boost/icl/CMakeLists.darwin.txt b/contrib/restricted/boost/icl/CMakeLists.darwin.txt new file mode 100644 index 0000000000..f74baa7ede --- /dev/null +++ b/contrib/restricted/boost/icl/CMakeLists.darwin.txt @@ -0,0 +1,31 @@ + +# 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(restricted-boost-icl INTERFACE) +target_include_directories(restricted-boost-icl INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/icl/include +) +target_link_libraries(restricted-boost-icl INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container + restricted-boost-core + restricted-boost-date_time + restricted-boost-detail + restricted-boost-iterator + restricted-boost-move + restricted-boost-mpl + restricted-boost-range + restricted-boost-rational + restricted-boost-static_assert + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/icl/CMakeLists.linux.txt b/contrib/restricted/boost/icl/CMakeLists.linux.txt new file mode 100644 index 0000000000..f74baa7ede --- /dev/null +++ b/contrib/restricted/boost/icl/CMakeLists.linux.txt @@ -0,0 +1,31 @@ + +# 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(restricted-boost-icl INTERFACE) +target_include_directories(restricted-boost-icl INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/icl/include +) +target_link_libraries(restricted-boost-icl INTERFACE + contrib-libs-cxxsupp + restricted-boost-assert + restricted-boost-concept_check + restricted-boost-config + restricted-boost-container + restricted-boost-core + restricted-boost-date_time + restricted-boost-detail + restricted-boost-iterator + restricted-boost-move + restricted-boost-mpl + restricted-boost-range + restricted-boost-rational + restricted-boost-static_assert + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/icl/CMakeLists.txt b/contrib/restricted/boost/icl/CMakeLists.txt index f74baa7ede..79468a5d8d 100644 --- a/contrib/restricted/boost/icl/CMakeLists.txt +++ b/contrib/restricted/boost/icl/CMakeLists.txt @@ -6,26 +6,8 @@ # original buildsystem will not be accepted. - -add_library(restricted-boost-icl INTERFACE) -target_include_directories(restricted-boost-icl INTERFACE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/icl/include -) -target_link_libraries(restricted-boost-icl INTERFACE - contrib-libs-cxxsupp - restricted-boost-assert - restricted-boost-concept_check - restricted-boost-config - restricted-boost-container - restricted-boost-core - restricted-boost-date_time - restricted-boost-detail - restricted-boost-iterator - restricted-boost-move - restricted-boost-mpl - restricted-boost-range - restricted-boost-rational - restricted-boost-static_assert - restricted-boost-type_traits - restricted-boost-utility -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/boost/property_map/CMakeLists.darwin.txt b/contrib/restricted/boost/property_map/CMakeLists.darwin.txt new file mode 100644 index 0000000000..6a302522b9 --- /dev/null +++ b/contrib/restricted/boost/property_map/CMakeLists.darwin.txt @@ -0,0 +1,35 @@ + +# 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(restricted-boost-property_map INTERFACE) +target_include_directories(restricted-boost-property_map INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/property_map/include +) +target_link_libraries(restricted-boost-property_map INTERFACE + contrib-libs-cxxsupp + yutil + restricted-boost-any + restricted-boost-assert + restricted-boost-bind + restricted-boost-concept_check + restricted-boost-config + restricted-boost-core + restricted-boost-function + restricted-boost-iterator + restricted-boost-lexical_cast + restricted-boost-mpl + restricted-boost-multi_index + restricted-boost-optional + restricted-boost-serialization + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/property_map/CMakeLists.linux.txt b/contrib/restricted/boost/property_map/CMakeLists.linux.txt new file mode 100644 index 0000000000..6a302522b9 --- /dev/null +++ b/contrib/restricted/boost/property_map/CMakeLists.linux.txt @@ -0,0 +1,35 @@ + +# 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(restricted-boost-property_map INTERFACE) +target_include_directories(restricted-boost-property_map INTERFACE + ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/property_map/include +) +target_link_libraries(restricted-boost-property_map INTERFACE + contrib-libs-cxxsupp + yutil + restricted-boost-any + restricted-boost-assert + restricted-boost-bind + restricted-boost-concept_check + restricted-boost-config + restricted-boost-core + restricted-boost-function + restricted-boost-iterator + restricted-boost-lexical_cast + restricted-boost-mpl + restricted-boost-multi_index + restricted-boost-optional + restricted-boost-serialization + restricted-boost-smart_ptr + restricted-boost-static_assert + restricted-boost-throw_exception + restricted-boost-type_traits + restricted-boost-utility +) diff --git a/contrib/restricted/boost/property_map/CMakeLists.txt b/contrib/restricted/boost/property_map/CMakeLists.txt index 6a302522b9..79468a5d8d 100644 --- a/contrib/restricted/boost/property_map/CMakeLists.txt +++ b/contrib/restricted/boost/property_map/CMakeLists.txt @@ -6,30 +6,8 @@ # original buildsystem will not be accepted. - -add_library(restricted-boost-property_map INTERFACE) -target_include_directories(restricted-boost-property_map INTERFACE - ${CMAKE_SOURCE_DIR}/contrib/restricted/boost/property_map/include -) -target_link_libraries(restricted-boost-property_map INTERFACE - contrib-libs-cxxsupp - yutil - restricted-boost-any - restricted-boost-assert - restricted-boost-bind - restricted-boost-concept_check - restricted-boost-config - restricted-boost-core - restricted-boost-function - restricted-boost-iterator - restricted-boost-lexical_cast - restricted-boost-mpl - restricted-boost-multi_index - restricted-boost-optional - restricted-boost-serialization - restricted-boost-smart_ptr - restricted-boost-static_assert - restricted-boost-throw_exception - restricted-boost-type_traits - restricted-boost-utility -) +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) + include(CMakeLists.linux.txt) +endif() |