aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/apache/orc
diff options
context:
space:
mode:
authorrobot-piglet <robot-piglet@yandex-team.com>2023-03-09 12:42:44 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2023-03-09 12:42:44 +0300
commit6324d075a5e80b6943b5de6b465b775050fe83df (patch)
treee02ce32e988042438f64df770a528164ac572879 /contrib/libs/apache/orc
parent039e25e1597bec288de44e5061c1b84e195add08 (diff)
downloadydb-6324d075a5e80b6943b5de6b465b775050fe83df.tar.gz
Intermediate changes
Diffstat (limited to 'contrib/libs/apache/orc')
-rw-r--r--contrib/libs/apache/orc/CMakeLists.txt2
-rw-r--r--contrib/libs/apache/orc/CMakeLists.windows-x86_64.txt95
2 files changed, 97 insertions, 0 deletions
diff --git a/contrib/libs/apache/orc/CMakeLists.txt b/contrib/libs/apache/orc/CMakeLists.txt
index 8f8c04afe5..d90657116d 100644
--- a/contrib/libs/apache/orc/CMakeLists.txt
+++ b/contrib/libs/apache/orc/CMakeLists.txt
@@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND
include(CMakeLists.linux-aarch64.txt)
elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
include(CMakeLists.darwin-x86_64.txt)
+elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA)
+ include(CMakeLists.windows-x86_64.txt)
elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA)
include(CMakeLists.linux-x86_64.txt)
endif()
diff --git a/contrib/libs/apache/orc/CMakeLists.windows-x86_64.txt b/contrib/libs/apache/orc/CMakeLists.windows-x86_64.txt
new file mode 100644
index 0000000000..45e01d7a29
--- /dev/null
+++ b/contrib/libs/apache/orc/CMakeLists.windows-x86_64.txt
@@ -0,0 +1,95 @@
+
+# This file was generated 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)
+get_built_tool_path(
+ TOOL_protoc_bin
+ TOOL_protoc_dependency
+ contrib/tools/protoc/bin
+ protoc
+)
+get_built_tool_path(
+ TOOL_cpp_styleguide_bin
+ TOOL_cpp_styleguide_dependency
+ contrib/tools/protoc/plugins/cpp_styleguide
+ cpp_styleguide
+)
+
+add_library(libs-apache-orc)
+target_compile_options(libs-apache-orc PRIVATE
+ $<IF:$<CXX_COMPILER_ID:MSVC>,,-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-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}/
+)