diff options
author | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
commit | 0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch) | |
tree | 4d8a246db168f7beaafcd06d486c034115c2123d /contrib/libs/apache/orc/CMakeLists.linux.txt | |
parent | d1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff) | |
download | ydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz |
Sync linux-headers instead of using system ones
Diffstat (limited to 'contrib/libs/apache/orc/CMakeLists.linux.txt')
-rw-r--r-- | contrib/libs/apache/orc/CMakeLists.linux.txt | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/contrib/libs/apache/orc/CMakeLists.linux.txt b/contrib/libs/apache/orc/CMakeLists.linux.txt new file mode 100644 index 0000000000..b071555444 --- /dev/null +++ b/contrib/libs/apache/orc/CMakeLists.linux.txt @@ -0,0 +1,84 @@ + +# 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. + + +find_package(ZLIB REQUIRED) + +add_library(libs-apache-orc) +target_compile_options(libs-apache-orc PRIVATE + -Wno-everything +) +target_include_directories(libs-apache-orc PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/include +) +target_include_directories(libs-apache-orc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/proto + ${CMAKE_SOURCE_DIR}/contrib/libs/lz4 + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/include +) +target_link_libraries(libs-apache-orc PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-lz4 + contrib-libs-snappy + ZLIB::ZLIB + contrib-libs-zstd + contrib-libs-protobuf +) +target_proto_messages(libs-apache-orc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/proto/orc_proto.proto +) +target_sources(libs-apache-orc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Adaptor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/BloomFilter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ByteRLE.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ColumnPrinter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ColumnReader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/ColumnWriter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Common.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Compression.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Exceptions.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Int128.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/LzoDecompressor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/MemoryPool.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Murmur3.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/OrcFile.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RLE.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RLEV2Util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RLEv1.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RleDecoderV2.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/RleEncoderV2.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Statistics.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/StripeStream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Timezone.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/TypeImpl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Vector.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/Writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/io/InputStream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/io/OutputStream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/ExpressionTree.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/Literal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/PredicateLeaf.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/SargsApplier.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/SearchArgument.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/src/sargs/TruthValue.cc +) +target_proto_addincls(libs-apache-orc + ./ + ${CMAKE_SOURCE_DIR}/ + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src + ${CMAKE_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src +) +target_proto_outs(libs-apache-orc + --cpp_out=${CMAKE_BINARY_DIR}/ + --cpp_styleguide_out=${CMAKE_BINARY_DIR}/ +) |