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 | |
parent | d1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff) | |
download | ydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz |
Sync linux-headers instead of using system ones
Diffstat (limited to 'contrib/libs/apache')
-rw-r--r-- | contrib/libs/apache/arrow/CMakeLists.darwin.txt | 265 | ||||
-rw-r--r-- | contrib/libs/apache/arrow/CMakeLists.linux-aarch64.txt | 266 | ||||
-rw-r--r-- | contrib/libs/apache/arrow/CMakeLists.linux.txt | 266 | ||||
-rw-r--r-- | contrib/libs/apache/arrow/CMakeLists.txt | 264 | ||||
-rw-r--r-- | contrib/libs/apache/avro/CMakeLists.darwin.txt | 62 | ||||
-rw-r--r-- | contrib/libs/apache/avro/CMakeLists.linux-aarch64.txt | 63 | ||||
-rw-r--r-- | contrib/libs/apache/avro/CMakeLists.linux.txt | 63 | ||||
-rw-r--r-- | contrib/libs/apache/avro/CMakeLists.txt | 61 | ||||
-rw-r--r-- | contrib/libs/apache/orc/CMakeLists.darwin.txt | 83 | ||||
-rw-r--r-- | contrib/libs/apache/orc/CMakeLists.linux-aarch64.txt | 84 | ||||
-rw-r--r-- | contrib/libs/apache/orc/CMakeLists.linux.txt | 84 | ||||
-rw-r--r-- | contrib/libs/apache/orc/CMakeLists.txt | 82 |
12 files changed, 1257 insertions, 386 deletions
diff --git a/contrib/libs/apache/arrow/CMakeLists.darwin.txt b/contrib/libs/apache/arrow/CMakeLists.darwin.txt new file mode 100644 index 0000000000..0bf52780a4 --- /dev/null +++ b/contrib/libs/apache/arrow/CMakeLists.darwin.txt @@ -0,0 +1,265 @@ + +# 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-arrow) +target_compile_options(libs-apache-arrow PUBLIC + -DARROW_STATIC +) +target_compile_options(libs-apache-arrow PRIVATE + -DARROW_EXPORTING + -DARROW_WITH_BROTLI + -DARROW_WITH_LZ4 + -DARROW_WITH_RE2 + -DARROW_WITH_SNAPPY + -DARROW_WITH_TIMING_TESTS + -DARROW_WITH_UTF8PROC + -DARROW_WITH_ZLIB + -DARROW_WITH_ZSTD + -DHAVE_INTTYPES_H + -DHAVE_NETDB_H + -DPARQUET_EXPORTING + -DURI_STATIC_BUILD + -DHAVE_NETINET_IN_H + -Wno-everything +) +target_include_directories(libs-apache-arrow PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/src +) +target_include_directories(libs-apache-arrow PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/include + ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/include + ${CMAKE_SOURCE_DIR}/contrib/libs/lz4 + ${CMAKE_SOURCE_DIR}/contrib/libs/rapidjson/include + ${CMAKE_SOURCE_DIR}/contrib/libs/re2 + ${CMAKE_SOURCE_DIR}/contrib/libs/utf8proc + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/include +) +target_link_libraries(libs-apache-arrow PUBLIC + contrib-libs-cxxsupp + libs-apache-orc + libs-brotli-dec + libs-brotli-enc + contrib-libs-double-conversion + contrib-libs-lz4 + contrib-libs-rapidjson + contrib-libs-re2 + contrib-libs-snappy + contrib-libs-utf8proc + contrib-libs-xxhash + ZLIB::ZLIB + contrib-libs-zstd + contrib-restricted-fast_float + contrib-restricted-thrift + contrib-restricted-uriparser +) +target_sources(libs-apache-arrow PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/adapters/orc/adapter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/adapters/orc/adapter_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_base.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_binary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_dict.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_primitive.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_adaptive.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_base.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_binary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_dict.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_primitive.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_union.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/concatenate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/data.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/diff.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/validate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/buffer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/c/bridge.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/chunked_array.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compare.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_aggregate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_scalar.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_vector.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/cast.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/exec_plan.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/expression.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_compare.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_encode.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_map.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/function.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/function_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernel.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_basic.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_mode.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_quantile.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_tdigest.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_var_std.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/codegen_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/hash_aggregate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_arithmetic.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_boolean.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_boolean.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_dictionary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_numeric.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_string.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_temporal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_compare.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_fill_null.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_set_lookup.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_string.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_temporal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_validity.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/util_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_replace.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_selection.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_sort.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/registry.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/config.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/chunker.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/column_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/column_decoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/options.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/parser.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/datum.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/device.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/extension_type.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/filesystem.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/localfs.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/mockfs.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/path_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/util_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/buffered.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/caching.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/compressed.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/file.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/interfaces.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/memory.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/slow.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/stdio.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/transform.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/dictionary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/feather.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/json_simple.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/message.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/metadata_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/options.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/chunked_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/chunker.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/object_parser.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/object_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/options.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/parser.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/memory_pool.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/pretty_print.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/record_batch.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/result.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/scalar.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/sparse_tensor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/status.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/table.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/table_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/coo_converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/csf_converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/csx_converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/type.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/basic_decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_block_counter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_run_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap_builders.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap_ops.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bpacking.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/cancel.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_brotli.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_lz4.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_snappy.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_zlib.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_zstd.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/cpu_info.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/delimiting.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/formatting.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/future.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/int_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/io_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/key_value_metadata.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/logging.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/memory.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/mutex.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/string.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/string_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/task_group.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/tdigest.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/thread_pool.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/time.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/trie.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/uri.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/utf8.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/value_parsing.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/base64.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/datetime/tz.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/musl/strptime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/visitor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated/parquet_constants.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated/parquet_types.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/path_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/reader_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/schema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/schema_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/bloom_filter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_scanner.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encoding.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/encryption.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/encryption_internal_nossl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/internal_file_decryptor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/internal_file_encryptor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/exception.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/file_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/file_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/level_comparison.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/level_conversion.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/metadata.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/murmur3.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/platform.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/printer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/properties.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/schema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/statistics.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/stream_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/stream_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/types.cc +) diff --git a/contrib/libs/apache/arrow/CMakeLists.linux-aarch64.txt b/contrib/libs/apache/arrow/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..8b0cfa1e52 --- /dev/null +++ b/contrib/libs/apache/arrow/CMakeLists.linux-aarch64.txt @@ -0,0 +1,266 @@ + +# 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-arrow) +target_compile_options(libs-apache-arrow PUBLIC + -DARROW_STATIC +) +target_compile_options(libs-apache-arrow PRIVATE + -DARROW_EXPORTING + -DARROW_WITH_BROTLI + -DARROW_WITH_LZ4 + -DARROW_WITH_RE2 + -DARROW_WITH_SNAPPY + -DARROW_WITH_TIMING_TESTS + -DARROW_WITH_UTF8PROC + -DARROW_WITH_ZLIB + -DARROW_WITH_ZSTD + -DHAVE_INTTYPES_H + -DHAVE_NETDB_H + -DPARQUET_EXPORTING + -DURI_STATIC_BUILD + -DHAVE_NETINET_IN_H + -Wno-everything +) +target_include_directories(libs-apache-arrow PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/src +) +target_include_directories(libs-apache-arrow PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/include + ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/include + ${CMAKE_SOURCE_DIR}/contrib/libs/lz4 + ${CMAKE_SOURCE_DIR}/contrib/libs/rapidjson/include + ${CMAKE_SOURCE_DIR}/contrib/libs/re2 + ${CMAKE_SOURCE_DIR}/contrib/libs/utf8proc + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/include +) +target_link_libraries(libs-apache-arrow PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + libs-apache-orc + libs-brotli-dec + libs-brotli-enc + contrib-libs-double-conversion + contrib-libs-lz4 + contrib-libs-rapidjson + contrib-libs-re2 + contrib-libs-snappy + contrib-libs-utf8proc + contrib-libs-xxhash + ZLIB::ZLIB + contrib-libs-zstd + contrib-restricted-fast_float + contrib-restricted-thrift + contrib-restricted-uriparser +) +target_sources(libs-apache-arrow PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/adapters/orc/adapter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/adapters/orc/adapter_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_base.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_binary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_dict.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_primitive.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_adaptive.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_base.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_binary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_dict.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_primitive.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_union.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/concatenate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/data.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/diff.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/validate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/buffer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/c/bridge.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/chunked_array.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compare.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_aggregate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_scalar.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_vector.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/cast.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/exec_plan.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/expression.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_compare.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_encode.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_map.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/function.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/function_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernel.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_basic.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_mode.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_quantile.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_tdigest.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_var_std.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/codegen_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/hash_aggregate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_arithmetic.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_boolean.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_boolean.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_dictionary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_numeric.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_string.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_temporal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_compare.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_fill_null.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_set_lookup.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_string.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_temporal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_validity.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/util_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_replace.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_selection.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_sort.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/registry.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/config.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/chunker.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/column_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/column_decoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/options.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/parser.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/datum.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/device.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/extension_type.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/filesystem.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/localfs.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/mockfs.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/path_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/util_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/buffered.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/caching.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/compressed.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/file.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/interfaces.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/memory.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/slow.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/stdio.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/transform.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/dictionary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/feather.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/json_simple.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/message.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/metadata_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/options.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/chunked_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/chunker.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/object_parser.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/object_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/options.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/parser.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/memory_pool.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/pretty_print.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/record_batch.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/result.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/scalar.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/sparse_tensor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/status.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/table.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/table_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/coo_converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/csf_converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/csx_converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/type.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/basic_decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_block_counter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_run_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap_builders.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap_ops.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bpacking.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/cancel.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_brotli.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_lz4.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_snappy.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_zlib.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_zstd.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/cpu_info.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/delimiting.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/formatting.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/future.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/int_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/io_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/key_value_metadata.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/logging.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/memory.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/mutex.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/string.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/string_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/task_group.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/tdigest.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/thread_pool.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/time.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/trie.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/uri.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/utf8.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/value_parsing.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/base64.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/datetime/tz.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/musl/strptime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/visitor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated/parquet_constants.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated/parquet_types.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/path_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/reader_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/schema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/schema_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/bloom_filter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_scanner.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encoding.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/encryption.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/encryption_internal_nossl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/internal_file_decryptor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/internal_file_encryptor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/exception.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/file_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/file_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/level_comparison.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/level_conversion.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/metadata.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/murmur3.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/platform.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/printer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/properties.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/schema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/statistics.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/stream_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/stream_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/types.cc +) diff --git a/contrib/libs/apache/arrow/CMakeLists.linux.txt b/contrib/libs/apache/arrow/CMakeLists.linux.txt new file mode 100644 index 0000000000..8b0cfa1e52 --- /dev/null +++ b/contrib/libs/apache/arrow/CMakeLists.linux.txt @@ -0,0 +1,266 @@ + +# 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-arrow) +target_compile_options(libs-apache-arrow PUBLIC + -DARROW_STATIC +) +target_compile_options(libs-apache-arrow PRIVATE + -DARROW_EXPORTING + -DARROW_WITH_BROTLI + -DARROW_WITH_LZ4 + -DARROW_WITH_RE2 + -DARROW_WITH_SNAPPY + -DARROW_WITH_TIMING_TESTS + -DARROW_WITH_UTF8PROC + -DARROW_WITH_ZLIB + -DARROW_WITH_ZSTD + -DHAVE_INTTYPES_H + -DHAVE_NETDB_H + -DPARQUET_EXPORTING + -DURI_STATIC_BUILD + -DHAVE_NETINET_IN_H + -Wno-everything +) +target_include_directories(libs-apache-arrow PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/src +) +target_include_directories(libs-apache-arrow PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/include + ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/include + ${CMAKE_SOURCE_DIR}/contrib/libs/lz4 + ${CMAKE_SOURCE_DIR}/contrib/libs/rapidjson/include + ${CMAKE_SOURCE_DIR}/contrib/libs/re2 + ${CMAKE_SOURCE_DIR}/contrib/libs/utf8proc + ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/include +) +target_link_libraries(libs-apache-arrow PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + libs-apache-orc + libs-brotli-dec + libs-brotli-enc + contrib-libs-double-conversion + contrib-libs-lz4 + contrib-libs-rapidjson + contrib-libs-re2 + contrib-libs-snappy + contrib-libs-utf8proc + contrib-libs-xxhash + ZLIB::ZLIB + contrib-libs-zstd + contrib-restricted-fast_float + contrib-restricted-thrift + contrib-restricted-uriparser +) +target_sources(libs-apache-arrow PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/adapters/orc/adapter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/adapters/orc/adapter_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_base.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_binary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_dict.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_primitive.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_adaptive.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_base.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_binary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_dict.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_primitive.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_union.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/concatenate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/data.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/diff.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/validate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/buffer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/c/bridge.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/chunked_array.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compare.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_aggregate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_scalar.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_vector.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/cast.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/exec_plan.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/expression.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_compare.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_encode.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_map.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/function.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/function_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernel.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_basic.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_mode.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_quantile.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_tdigest.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_var_std.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/codegen_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/hash_aggregate.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_arithmetic.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_boolean.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_boolean.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_dictionary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_numeric.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_string.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_temporal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_compare.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_fill_null.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_set_lookup.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_string.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_temporal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_validity.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/util_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_hash.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_nested.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_replace.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_selection.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_sort.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/registry.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/config.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/chunker.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/column_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/column_decoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/options.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/parser.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/datum.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/device.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/extension_type.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/filesystem.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/localfs.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/mockfs.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/path_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/util_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/buffered.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/caching.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/compressed.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/file.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/interfaces.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/memory.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/slow.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/stdio.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/transform.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/dictionary.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/feather.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/json_simple.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/message.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/metadata_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/options.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/chunked_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/chunker.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/object_parser.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/object_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/options.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/parser.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/memory_pool.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/pretty_print.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/record_batch.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/result.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/scalar.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/sparse_tensor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/status.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/table.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/table_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/coo_converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/csf_converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/csx_converter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/type.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/basic_decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_block_counter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_run_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap_builders.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap_ops.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bpacking.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/cancel.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_brotli.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_lz4.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_snappy.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_zlib.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_zstd.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/cpu_info.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/decimal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/delimiting.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/formatting.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/future.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/int_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/io_util.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/key_value_metadata.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/logging.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/memory.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/mutex.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/string.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/string_builder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/task_group.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/tdigest.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/thread_pool.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/time.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/trie.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/uri.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/utf8.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/value_parsing.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/base64.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/datetime/tz.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/musl/strptime.c + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/visitor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated/parquet_constants.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated/parquet_types.cpp + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/path_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/reader_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/schema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/schema_internal.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/bloom_filter.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_scanner.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encoding.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/encryption.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/encryption_internal_nossl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/internal_file_decryptor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/internal_file_encryptor.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/exception.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/file_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/file_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/level_comparison.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/level_conversion.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/metadata.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/murmur3.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/platform.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/printer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/properties.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/schema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/statistics.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/stream_reader.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/stream_writer.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/types.cc +) diff --git a/contrib/libs/apache/arrow/CMakeLists.txt b/contrib/libs/apache/arrow/CMakeLists.txt index 0bf52780a4..3e0811fb22 100644 --- a/contrib/libs/apache/arrow/CMakeLists.txt +++ b/contrib/libs/apache/arrow/CMakeLists.txt @@ -6,260 +6,10 @@ # original buildsystem will not be accepted. -find_package(ZLIB REQUIRED) - -add_library(libs-apache-arrow) -target_compile_options(libs-apache-arrow PUBLIC - -DARROW_STATIC -) -target_compile_options(libs-apache-arrow PRIVATE - -DARROW_EXPORTING - -DARROW_WITH_BROTLI - -DARROW_WITH_LZ4 - -DARROW_WITH_RE2 - -DARROW_WITH_SNAPPY - -DARROW_WITH_TIMING_TESTS - -DARROW_WITH_UTF8PROC - -DARROW_WITH_ZLIB - -DARROW_WITH_ZSTD - -DHAVE_INTTYPES_H - -DHAVE_NETDB_H - -DPARQUET_EXPORTING - -DURI_STATIC_BUILD - -DHAVE_NETINET_IN_H - -Wno-everything -) -target_include_directories(libs-apache-arrow PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/src -) -target_include_directories(libs-apache-arrow PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/orc/c++/include - ${CMAKE_SOURCE_DIR}/contrib/libs/flatbuffers/include - ${CMAKE_SOURCE_DIR}/contrib/libs/lz4 - ${CMAKE_SOURCE_DIR}/contrib/libs/rapidjson/include - ${CMAKE_SOURCE_DIR}/contrib/libs/re2 - ${CMAKE_SOURCE_DIR}/contrib/libs/utf8proc - ${CMAKE_SOURCE_DIR}/contrib/libs/zstd/include -) -target_link_libraries(libs-apache-arrow PUBLIC - contrib-libs-cxxsupp - libs-apache-orc - libs-brotli-dec - libs-brotli-enc - contrib-libs-double-conversion - contrib-libs-lz4 - contrib-libs-rapidjson - contrib-libs-re2 - contrib-libs-snappy - contrib-libs-utf8proc - contrib-libs-xxhash - ZLIB::ZLIB - contrib-libs-zstd - contrib-restricted-fast_float - contrib-restricted-thrift - contrib-restricted-uriparser -) -target_sources(libs-apache-arrow PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/adapters/orc/adapter.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/adapters/orc/adapter_util.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_base.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_binary.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_decimal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_dict.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_nested.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/array_primitive.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_adaptive.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_base.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_binary.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_decimal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_dict.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_nested.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_primitive.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/builder_union.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/concatenate.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/data.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/diff.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/util.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/array/validate.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/buffer.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/builder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/c/bridge.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/chunked_array.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compare.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_aggregate.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_scalar.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/api_vector.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/cast.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/exec_plan.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/expression.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_compare.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_encode.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_hash.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/key_map.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/exec/util.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/function.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/function_internal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernel.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_basic.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_mode.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_quantile.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_tdigest.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/aggregate_var_std.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/codegen_internal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/hash_aggregate.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_arithmetic.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_boolean.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_boolean.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_dictionary.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_internal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_nested.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_numeric.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_string.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_cast_temporal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_compare.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_fill_null.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_if_else.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_nested.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_set_lookup.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_string.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_temporal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/scalar_validity.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/util_internal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_hash.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_nested.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_replace.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_selection.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/kernels/vector_sort.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/compute/registry.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/config.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/chunker.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/column_builder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/column_decoder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/converter.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/options.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/parser.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/reader.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/csv/writer.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/datum.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/device.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/extension_type.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/filesystem.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/localfs.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/mockfs.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/path_util.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/filesystem/util_internal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/buffered.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/caching.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/compressed.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/file.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/interfaces.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/memory.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/slow.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/stdio.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/io/transform.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/dictionary.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/feather.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/json_simple.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/message.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/metadata_internal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/options.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/reader.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/ipc/writer.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/chunked_builder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/chunker.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/converter.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/object_parser.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/object_writer.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/options.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/parser.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/json/reader.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/memory_pool.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/pretty_print.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/record_batch.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/result.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/scalar.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/sparse_tensor.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/status.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/table.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/table_builder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/coo_converter.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/csf_converter.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/tensor/csx_converter.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/type.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/basic_decimal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_block_counter.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_run_reader.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bit_util.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap_builders.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bitmap_ops.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/bpacking.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/cancel.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_brotli.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_lz4.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_snappy.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_zlib.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/compression_zstd.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/cpu_info.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/decimal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/delimiting.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/formatting.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/future.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/int_util.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/io_util.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/key_value_metadata.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/logging.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/memory.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/mutex.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/string.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/string_builder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/task_group.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/tdigest.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/thread_pool.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/time.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/trie.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/uri.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/utf8.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/util/value_parsing.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/base64.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/datetime/tz.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/vendored/musl/strptime.c - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/arrow/visitor.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated/parquet_constants.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/generated/parquet_types.cpp - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/path_internal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/reader.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/reader_internal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/schema.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/schema_internal.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/arrow/writer.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/bloom_filter.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_reader.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_scanner.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/column_writer.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encoding.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/encryption.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/encryption_internal_nossl.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/internal_file_decryptor.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/encryption/internal_file_encryptor.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/exception.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/file_reader.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/file_writer.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/level_comparison.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/level_conversion.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/metadata.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/murmur3.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/platform.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/printer.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/properties.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/schema.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/statistics.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/stream_reader.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/stream_writer.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/arrow/cpp/src/parquet/types.cc -) +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/libs/apache/avro/CMakeLists.darwin.txt b/contrib/libs/apache/avro/CMakeLists.darwin.txt new file mode 100644 index 0000000000..25f777b612 --- /dev/null +++ b/contrib/libs/apache/avro/CMakeLists.darwin.txt @@ -0,0 +1,62 @@ + +# 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(libs-apache-avro) +target_compile_options(libs-apache-avro PRIVATE + -DAVRO_SOURCE + -DAVRO_VERSION="1.11.1" + -DBOOST_ALL_NO_LIB + -DBOOST_ATOMIC_DYN_LINK + -DBOOST_FILESYSTEM_DYN_LINK + -DBOOST_IOSTREAMS_DYN_LINK + -DBOOST_PROGRAM_OPTIONS_DYN_LINK + -DBOOST_REGEX_DYN_LINK + -DBOOST_SYSTEM_DYN_LINK + -DSNAPPY_CODEC_AVAILABLE + -Wno-everything +) +target_include_directories(libs-apache-avro PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api +) +target_link_libraries(libs-apache-avro PUBLIC + contrib-libs-cxxsupp + contrib-libs-snappy + restricted-boost-any + restricted-boost-asio + restricted-boost-crc + restricted-boost-format + restricted-boost-iostreams +) +target_sources(libs-apache-avro PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryDecoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryEncoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Compiler.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/CustomFields.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/DataFile.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/FileStream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Generic.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/GenericDatum.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/LogicalType.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Node.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/NodeImpl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Resolver.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ResolverSchema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Schema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Stream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Types.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ValidSchema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Validator.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Zigzag.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonDom.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonIO.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/JsonCodec.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ResolvingDecoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/Symbol.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ValidatingCodec.cc +) diff --git a/contrib/libs/apache/avro/CMakeLists.linux-aarch64.txt b/contrib/libs/apache/avro/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..c26b9836bc --- /dev/null +++ b/contrib/libs/apache/avro/CMakeLists.linux-aarch64.txt @@ -0,0 +1,63 @@ + +# 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(libs-apache-avro) +target_compile_options(libs-apache-avro PRIVATE + -DAVRO_SOURCE + -DAVRO_VERSION="1.11.1" + -DBOOST_ALL_NO_LIB + -DBOOST_ATOMIC_DYN_LINK + -DBOOST_FILESYSTEM_DYN_LINK + -DBOOST_IOSTREAMS_DYN_LINK + -DBOOST_PROGRAM_OPTIONS_DYN_LINK + -DBOOST_REGEX_DYN_LINK + -DBOOST_SYSTEM_DYN_LINK + -DSNAPPY_CODEC_AVAILABLE + -Wno-everything +) +target_include_directories(libs-apache-avro PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api +) +target_link_libraries(libs-apache-avro PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-snappy + restricted-boost-any + restricted-boost-asio + restricted-boost-crc + restricted-boost-format + restricted-boost-iostreams +) +target_sources(libs-apache-avro PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryDecoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryEncoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Compiler.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/CustomFields.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/DataFile.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/FileStream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Generic.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/GenericDatum.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/LogicalType.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Node.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/NodeImpl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Resolver.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ResolverSchema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Schema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Stream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Types.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ValidSchema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Validator.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Zigzag.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonDom.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonIO.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/JsonCodec.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ResolvingDecoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/Symbol.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ValidatingCodec.cc +) diff --git a/contrib/libs/apache/avro/CMakeLists.linux.txt b/contrib/libs/apache/avro/CMakeLists.linux.txt new file mode 100644 index 0000000000..c26b9836bc --- /dev/null +++ b/contrib/libs/apache/avro/CMakeLists.linux.txt @@ -0,0 +1,63 @@ + +# 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(libs-apache-avro) +target_compile_options(libs-apache-avro PRIVATE + -DAVRO_SOURCE + -DAVRO_VERSION="1.11.1" + -DBOOST_ALL_NO_LIB + -DBOOST_ATOMIC_DYN_LINK + -DBOOST_FILESYSTEM_DYN_LINK + -DBOOST_IOSTREAMS_DYN_LINK + -DBOOST_PROGRAM_OPTIONS_DYN_LINK + -DBOOST_REGEX_DYN_LINK + -DBOOST_SYSTEM_DYN_LINK + -DSNAPPY_CODEC_AVAILABLE + -Wno-everything +) +target_include_directories(libs-apache-avro PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api +) +target_link_libraries(libs-apache-avro PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + contrib-libs-snappy + restricted-boost-any + restricted-boost-asio + restricted-boost-crc + restricted-boost-format + restricted-boost-iostreams +) +target_sources(libs-apache-avro PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryDecoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryEncoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Compiler.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/CustomFields.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/DataFile.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/FileStream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Generic.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/GenericDatum.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/LogicalType.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Node.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/NodeImpl.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Resolver.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ResolverSchema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Schema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Stream.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Types.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ValidSchema.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Validator.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Zigzag.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonDom.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonIO.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/JsonCodec.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ResolvingDecoder.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/Symbol.cc + ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ValidatingCodec.cc +) diff --git a/contrib/libs/apache/avro/CMakeLists.txt b/contrib/libs/apache/avro/CMakeLists.txt index 25f777b612..3e0811fb22 100644 --- a/contrib/libs/apache/avro/CMakeLists.txt +++ b/contrib/libs/apache/avro/CMakeLists.txt @@ -6,57 +6,10 @@ # original buildsystem will not be accepted. - -add_library(libs-apache-avro) -target_compile_options(libs-apache-avro PRIVATE - -DAVRO_SOURCE - -DAVRO_VERSION="1.11.1" - -DBOOST_ALL_NO_LIB - -DBOOST_ATOMIC_DYN_LINK - -DBOOST_FILESYSTEM_DYN_LINK - -DBOOST_IOSTREAMS_DYN_LINK - -DBOOST_PROGRAM_OPTIONS_DYN_LINK - -DBOOST_REGEX_DYN_LINK - -DBOOST_SYSTEM_DYN_LINK - -DSNAPPY_CODEC_AVAILABLE - -Wno-everything -) -target_include_directories(libs-apache-avro PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/api -) -target_link_libraries(libs-apache-avro PUBLIC - contrib-libs-cxxsupp - contrib-libs-snappy - restricted-boost-any - restricted-boost-asio - restricted-boost-crc - restricted-boost-format - restricted-boost-iostreams -) -target_sources(libs-apache-avro PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryDecoder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/BinaryEncoder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Compiler.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/CustomFields.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/DataFile.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/FileStream.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Generic.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/GenericDatum.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/LogicalType.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Node.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/NodeImpl.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Resolver.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ResolverSchema.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Schema.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Stream.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Types.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/ValidSchema.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Validator.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/Zigzag.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonDom.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/json/JsonIO.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/JsonCodec.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ResolvingDecoder.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/Symbol.cc - ${CMAKE_SOURCE_DIR}/contrib/libs/apache/avro/impl/parsing/ValidatingCodec.cc -) +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/libs/apache/orc/CMakeLists.darwin.txt b/contrib/libs/apache/orc/CMakeLists.darwin.txt new file mode 100644 index 0000000000..a567c02173 --- /dev/null +++ b/contrib/libs/apache/orc/CMakeLists.darwin.txt @@ -0,0 +1,83 @@ + +# 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-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}/ +) diff --git a/contrib/libs/apache/orc/CMakeLists.linux-aarch64.txt b/contrib/libs/apache/orc/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..b071555444 --- /dev/null +++ b/contrib/libs/apache/orc/CMakeLists.linux-aarch64.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}/ +) 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}/ +) diff --git a/contrib/libs/apache/orc/CMakeLists.txt b/contrib/libs/apache/orc/CMakeLists.txt index a567c02173..3e0811fb22 100644 --- a/contrib/libs/apache/orc/CMakeLists.txt +++ b/contrib/libs/apache/orc/CMakeLists.txt @@ -6,78 +6,10 @@ # 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-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}/ -) +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() |