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/boost/CMakeLists.txt | |
parent | 3e5907562bf4dae9cf824bd61032a343e2d294fd (diff) | |
download | ydb-fced20b9af826fdc3ec0886fe1f9740467ffba72.tar.gz |
Build hyperscan udf on x86_64 only.
Diffstat (limited to 'contrib/restricted/boost/CMakeLists.txt')
-rw-r--r-- | contrib/restricted/boost/CMakeLists.txt | 156 |
1 files changed, 7 insertions, 149 deletions
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() |