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/libs/CMakeLists.txt | |
parent | 3e5907562bf4dae9cf824bd61032a343e2d294fd (diff) | |
download | ydb-fced20b9af826fdc3ec0886fe1f9740467ffba72.tar.gz |
Build hyperscan udf on x86_64 only.
Diffstat (limited to 'contrib/libs/CMakeLists.txt')
-rw-r--r-- | contrib/libs/CMakeLists.txt | 59 |
1 files changed, 7 insertions, 52 deletions
diff --git a/contrib/libs/CMakeLists.txt b/contrib/libs/CMakeLists.txt index 2c5a43d6f3..3e0811fb22 100644 --- a/contrib/libs/CMakeLists.txt +++ b/contrib/libs/CMakeLists.txt @@ -6,55 +6,10 @@ # original buildsystem will not be accepted. -add_subdirectory(antlr3_cpp_runtime) -add_subdirectory(apache) -add_subdirectory(aws-sdk-cpp) -add_subdirectory(base64) -add_subdirectory(brotli) -add_subdirectory(cctz) -add_subdirectory(crcutil) -add_subdirectory(curl) -add_subdirectory(cxxsupp) -add_subdirectory(double-conversion) -add_subdirectory(expat) -add_subdirectory(farmhash) -add_subdirectory(fastlz) -add_subdirectory(fmt) -add_subdirectory(googleapis-common-protos) -add_subdirectory(grpc) -add_subdirectory(hdr_histogram) -add_subdirectory(highwayhash) -add_subdirectory(hyperscan) -add_subdirectory(icu) -add_subdirectory(jemalloc) -add_subdirectory(jwt-cpp) -add_subdirectory(libbz2) -add_subdirectory(libc_compat) -add_subdirectory(libevent) -add_subdirectory(libunwind) -add_subdirectory(libxml) -add_subdirectory(linuxvdso) -add_subdirectory(llvm12) -add_subdirectory(lua) -add_subdirectory(lz4) -add_subdirectory(lzma) -add_subdirectory(lzmasdk) -add_subdirectory(nayuki_md5) -add_subdirectory(nghttp2) -add_subdirectory(pcre) -add_subdirectory(pdqsort) -add_subdirectory(poco) -add_subdirectory(protobuf) -add_subdirectory(protoc) -add_subdirectory(rapidjson) -add_subdirectory(re2) -add_subdirectory(snappy) -add_subdirectory(sparsehash) -add_subdirectory(t1ha) -add_subdirectory(tbb) -add_subdirectory(tcmalloc) -add_subdirectory(utf8proc) -add_subdirectory(xxhash) -add_subdirectory(yaml-cpp) -add_subdirectory(zstd) -add_subdirectory(zstd06) +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() |