aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs
diff options
context:
space:
mode:
authorhrustyashko <hrustyashko@yandex-team.ru>2022-04-07 10:47:49 +0300
committerhrustyashko <hrustyashko@yandex-team.ru>2022-04-07 10:47:49 +0300
commit18dcbc27f5d6c6d5a79cc85d30587dc2f14485cd (patch)
tree2f5f0cadb5822f8c712e961b0933722157f7e51e /contrib/libs
parentfcb0844ab2c3ff96971288ec2d7b024051eb1658 (diff)
downloadydb-18dcbc27f5d6c6d5a79cc85d30587dc2f14485cd.tar.gz
YQ-1003 ExternalFunction provider
store connection name at resolved function rename expr nodes to dq_function dq function data provider ref:23fa1160965eb31574ae1c31a5a9152781f238c2
Diffstat (limited to 'contrib/libs')
-rw-r--r--contrib/libs/expat/CMakeLists.linux.txt22
-rw-r--r--contrib/libs/expat/CMakeLists.txt17
-rw-r--r--contrib/libs/sqlite3/CMakeLists.txt42
-rw-r--r--contrib/libs/xz/common/CMakeLists.txt24
-rw-r--r--contrib/libs/xz/liblzma/CMakeLists.txt108
5 files changed, 188 insertions, 25 deletions
diff --git a/contrib/libs/expat/CMakeLists.linux.txt b/contrib/libs/expat/CMakeLists.linux.txt
deleted file mode 100644
index 242054b589..0000000000
--- a/contrib/libs/expat/CMakeLists.linux.txt
+++ /dev/null
@@ -1,22 +0,0 @@
-
-# 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(contrib-libs-expat)
-target_compile_options(contrib-libs-expat PRIVATE
- -DHAVE_EXPAT_CONFIG_H
-)
-target_include_directories(contrib-libs-expat PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/expat
- ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib
-)
-target_sources(contrib-libs-expat PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmlparse.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmlrole.c
- ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmltok.c
-)
diff --git a/contrib/libs/expat/CMakeLists.txt b/contrib/libs/expat/CMakeLists.txt
index c031ddb850..242054b589 100644
--- a/contrib/libs/expat/CMakeLists.txt
+++ b/contrib/libs/expat/CMakeLists.txt
@@ -6,6 +6,17 @@
# original buildsystem will not be accepted.
-if (UNIX)
- include(CMakeLists.linux.txt)
-endif()
+
+add_library(contrib-libs-expat)
+target_compile_options(contrib-libs-expat PRIVATE
+ -DHAVE_EXPAT_CONFIG_H
+)
+target_include_directories(contrib-libs-expat PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib
+)
+target_sources(contrib-libs-expat PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmlparse.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmlrole.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/expat/lib/xmltok.c
+)
diff --git a/contrib/libs/sqlite3/CMakeLists.txt b/contrib/libs/sqlite3/CMakeLists.txt
new file mode 100644
index 0000000000..7a5a1ce6c1
--- /dev/null
+++ b/contrib/libs/sqlite3/CMakeLists.txt
@@ -0,0 +1,42 @@
+
+# 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(contrib-libs-sqlite3)
+target_compile_options(contrib-libs-sqlite3 PRIVATE
+ -DBUILD_sqlite
+ -DHAVE_USLEEP
+ -DSQLITE_ENABLE_COLUMN_METADATA
+ -DSQLITE_ENABLE_DBSTAT_VTAB
+ -DSQLITE_ENABLE_FTS3
+ -DSQLITE_ENABLE_FTS3_PARENTHESIS
+ -DSQLITE_ENABLE_FTS3_TOKENIZER
+ -DSQLITE_ENABLE_FTS4
+ -DSQLITE_ENABLE_FTS5
+ -DSQLITE_ENABLE_JSON1
+ -DSQLITE_ENABLE_MATH_FUNCTIONS
+ -DSQLITE_ENABLE_RTREE
+ -DSQLITE_ENABLE_STMT_SCANSTATUS
+ -DSQLITE_ENABLE_UNLOCK_NOTIFY
+ -DSQLITE_ENABLE_UPDATE_DELETE_LIMIT
+ -DSQLITE_HAVE_ZLIB=1
+ -DSQLITE_MAX_EXPR_DEPTH=10000
+ -DSQLITE_MAX_VARIABLE_NUMBER=250000
+ -DSQLITE_SECURE_DELETE
+ -DSQLITE_SOUNDEX
+ -DSQLITE_TEMP_STORE=1
+ -DSQLITE_THREADSAFE=1
+ -DSQLITE_OS_UNIX
+)
+target_include_directories(contrib-libs-sqlite3 PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3
+)
+target_sources(contrib-libs-sqlite3 PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3/sqlite3.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3/test_multiplex.c
+)
diff --git a/contrib/libs/xz/common/CMakeLists.txt b/contrib/libs/xz/common/CMakeLists.txt
new file mode 100644
index 0000000000..a9f5098f6d
--- /dev/null
+++ b/contrib/libs/xz/common/CMakeLists.txt
@@ -0,0 +1,24 @@
+
+# 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-xz-common)
+target_compile_options(libs-xz-common PRIVATE
+ -DTUKLIB_SYMBOL_PREFIX=lzma_
+)
+target_include_directories(libs-xz-common PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/common
+)
+target_link_libraries(libs-xz-common PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(libs-xz-common PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/common/tuklib_cpucores.c
+)
diff --git a/contrib/libs/xz/liblzma/CMakeLists.txt b/contrib/libs/xz/liblzma/CMakeLists.txt
new file mode 100644
index 0000000000..3926ba1729
--- /dev/null
+++ b/contrib/libs/xz/liblzma/CMakeLists.txt
@@ -0,0 +1,108 @@
+
+# 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-xz-liblzma)
+target_compile_options(libs-xz-liblzma PUBLIC
+ -DLZMA_API_STATIC
+)
+target_compile_options(libs-xz-liblzma PRIVATE
+ -DHAVE_CONFIG_H
+ -DTUKLIB_SYMBOL_PREFIX=lzma_
+)
+target_include_directories(libs-xz-liblzma PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/api
+)
+target_include_directories(libs-xz-liblzma PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/api
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/rangecoder
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/common
+)
+target_link_libraries(libs-xz-liblzma PUBLIC
+ contrib-libs-cxxsupp
+ libs-xz-common
+)
+target_sources(libs-xz-liblzma PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/check.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc32_fast.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc32_table.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc64_fast.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/crc64_table.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/check/sha256.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/alone_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/alone_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/auto_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_buffer_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_buffer_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_header_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_header_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/block_util.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/common.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_buffer_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_decoder_memusage.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_encoder_memusage.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/easy_preset.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_buffer_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_buffer_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_common.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_flags_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/filter_flags_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/hardware_cputhreads.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/index_hash.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/outqueue.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_buffer_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_buffer_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_encoder_mt.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_flags_common.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_flags_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/stream_flags_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/vli_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/vli_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/common/vli_size.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta/delta_common.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta/delta_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/delta/delta_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz/lz_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz/lz_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lz/lz_encoder_mf.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/fastpos_table.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma2_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma2_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder_optimum_fast.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder_optimum_normal.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/lzma/lzma_encoder_presets.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/rangecoder/price_table.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/arm.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/armthumb.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/ia64.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/powerpc.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/simple_coder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/simple_decoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/simple_encoder.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/sparc.c
+ ${CMAKE_SOURCE_DIR}/contrib/libs/xz/liblzma/simple/x86.c
+)