diff options
author | hrustyashko <hrustyashko@yandex-team.ru> | 2022-04-07 10:47:49 +0300 |
---|---|---|
committer | hrustyashko <hrustyashko@yandex-team.ru> | 2022-04-07 10:47:49 +0300 |
commit | 18dcbc27f5d6c6d5a79cc85d30587dc2f14485cd (patch) | |
tree | 2f5f0cadb5822f8c712e961b0933722157f7e51e /contrib/tools/python3/src/Modules | |
parent | fcb0844ab2c3ff96971288ec2d7b024051eb1658 (diff) | |
download | ydb-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/tools/python3/src/Modules')
4 files changed, 320 insertions, 0 deletions
diff --git a/contrib/tools/python3/src/Modules/CMakeLists.darwin.txt b/contrib/tools/python3/src/Modules/CMakeLists.darwin.txt new file mode 100644 index 0000000000..3e2d70ca0a --- /dev/null +++ b/contrib/tools/python3/src/Modules/CMakeLists.darwin.txt @@ -0,0 +1,137 @@ + +# 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(OpenSSL REQUIRED) +find_package(ZLIB REQUIRED) + +add_library(python3-src-Modules) +target_compile_options(python3-src-Modules PRIVATE + -DPy_BUILD_CORE_MODULE +) +target_include_directories(python3-src-Modules PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/expat + ${CMAKE_SOURCE_DIR}/contrib/libs/libbz2 + ${CMAKE_SOURCE_DIR}/contrib/libs/openssl + ${CMAKE_SOURCE_DIR}/contrib/libs/zlib + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Include + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Include/internal + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/PC +) +target_link_libraries(python3-src-Modules PUBLIC + contrib-libs-expat + contrib-libs-libbz2 + OpenSSL::OpenSSL + ZLIB::ZLIB + libs-xz-liblzma + contrib-restricted-libffi +) +target_sources(python3-src-Modules PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_abc.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_asynciomodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_bisectmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_blake2/blake2b_impl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_blake2/blake2module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_blake2/blake2s_impl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_bz2module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_codecsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_collectionsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_contextvarsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_csv.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/_ctypes.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/callbacks.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/callproc.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/cfield.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/stgdict.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_datetimemodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/_decimal.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/basearith.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/constants.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/context.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/convolute.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/crt.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/difradix2.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/fnt.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/fourstep.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/io.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/mpalloc.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/mpdecimal.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/numbertheory.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/sixstep.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/transpose.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_elementtree.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_hashopenssl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_heapqmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_json.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_localemodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_lsprof.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_lzmamodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_math.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_multiprocessing/multiprocessing.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_multiprocessing/posixshmem.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_multiprocessing/semaphore.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_opcode.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_operator.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_peg_parser.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_pickle.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_queuemodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_randommodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sha3/sha3module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sre.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ssl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_stat.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_statisticsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_struct.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_tracemalloc.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_weakref.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_xxsubinterpretersmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_xxtestfuzz/_xxtestfuzz.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_xxtestfuzz/fuzzer.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_zoneinfo.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/arraymodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/atexitmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/audioop.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/binascii.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_cn.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_hk.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_iso2022.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_jp.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_kr.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_tw.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/multibytecodec.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cmathmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/errnomodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/faulthandler.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/getbuildinfo.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/itertoolsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/mathmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/md5module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/parsermodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/pyexpat.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/rotatingtree.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/selectmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/sha1module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/sha256module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/sha512module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/socketmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/symtablemodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/unicodedata.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/zlibmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_cryptmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_posixsubprocess.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/fcntlmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/grpmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/pwdmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/resource.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/syslogmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/termios.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/darwin/dlfcn_simple.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_scproxy.c +) diff --git a/contrib/tools/python3/src/Modules/CMakeLists.linux.txt b/contrib/tools/python3/src/Modules/CMakeLists.linux.txt new file mode 100644 index 0000000000..044d4878b5 --- /dev/null +++ b/contrib/tools/python3/src/Modules/CMakeLists.linux.txt @@ -0,0 +1,136 @@ + +# 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(OpenSSL REQUIRED) +find_package(ZLIB REQUIRED) + +add_library(python3-src-Modules) +target_compile_options(python3-src-Modules PRIVATE + -DPy_BUILD_CORE_MODULE +) +target_include_directories(python3-src-Modules PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/expat + ${CMAKE_SOURCE_DIR}/contrib/libs/libbz2 + ${CMAKE_SOURCE_DIR}/contrib/libs/openssl + ${CMAKE_SOURCE_DIR}/contrib/libs/zlib + ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Include + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Include/internal + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/PC +) +target_link_libraries(python3-src-Modules PUBLIC + contrib-libs-expat + contrib-libs-libbz2 + OpenSSL::OpenSSL + ZLIB::ZLIB + libs-xz-liblzma + contrib-restricted-libffi +) +target_sources(python3-src-Modules PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_abc.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_asynciomodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_bisectmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_blake2/blake2b_impl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_blake2/blake2module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_blake2/blake2s_impl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_bz2module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_codecsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_collectionsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_contextvarsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_csv.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/_ctypes.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/callbacks.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/callproc.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/cfield.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ctypes/stgdict.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_datetimemodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/_decimal.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/basearith.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/constants.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/context.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/convolute.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/crt.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/difradix2.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/fnt.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/fourstep.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/io.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/mpalloc.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/mpdecimal.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/numbertheory.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/sixstep.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_decimal/libmpdec/transpose.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_elementtree.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_hashopenssl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_heapqmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_json.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_localemodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_lsprof.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_lzmamodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_math.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_multiprocessing/multiprocessing.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_multiprocessing/posixshmem.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_multiprocessing/semaphore.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_opcode.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_operator.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_peg_parser.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_pickle.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_queuemodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_randommodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sha3/sha3module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sre.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_ssl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_stat.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_statisticsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_struct.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_tracemalloc.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_weakref.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_xxsubinterpretersmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_xxtestfuzz/_xxtestfuzz.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_xxtestfuzz/fuzzer.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_zoneinfo.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/arraymodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/atexitmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/audioop.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/binascii.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_cn.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_hk.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_iso2022.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_jp.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_kr.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/_codecs_tw.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cjkcodecs/multibytecodec.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/cmathmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/errnomodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/faulthandler.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/getbuildinfo.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/itertoolsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/mathmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/md5module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/parsermodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/pyexpat.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/rotatingtree.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/selectmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/sha1module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/sha256module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/sha512module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/socketmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/symtablemodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/unicodedata.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/zlibmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_cryptmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_posixsubprocess.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/fcntlmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/grpmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/pwdmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/resource.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/syslogmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/termios.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/spwdmodule.c +) diff --git a/contrib/tools/python3/src/Modules/CMakeLists.txt b/contrib/tools/python3/src/Modules/CMakeLists.txt new file mode 100644 index 0000000000..a681d385f3 --- /dev/null +++ b/contrib/tools/python3/src/Modules/CMakeLists.txt @@ -0,0 +1,13 @@ + +# 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. + + +if (APPLE) + include(CMakeLists.darwin.txt) +elseif (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/tools/python3/src/Modules/_sqlite/CMakeLists.txt b/contrib/tools/python3/src/Modules/_sqlite/CMakeLists.txt new file mode 100644 index 0000000000..eb51a0826b --- /dev/null +++ b/contrib/tools/python3/src/Modules/_sqlite/CMakeLists.txt @@ -0,0 +1,34 @@ + +# 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(src-Modules-_sqlite) +target_compile_options(src-Modules-_sqlite PRIVATE + -DMODULE_NAME="sqlite3" +) +target_include_directories(src-Modules-_sqlite PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/libs/python/Include +) +target_include_directories(src-Modules-_sqlite PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/libs/sqlite3 + ${CMAKE_SOURCE_DIR}/contrib/libs/python/Include +) +target_link_libraries(src-Modules-_sqlite PUBLIC + contrib-libs-sqlite3 +) +target_sources(src-Modules-_sqlite PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/cache.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/connection.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/cursor.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/microprotocols.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/module.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/prepare_protocol.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/row.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/statement.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_sqlite/util.c +) |