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 | |
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')
-rw-r--r-- | contrib/tools/python3/src/CMakeLists.darwin.txt | 163 | ||||
-rw-r--r-- | contrib/tools/python3/src/CMakeLists.linux.txt | 157 | ||||
-rw-r--r-- | contrib/tools/python3/src/CMakeLists.txt | 13 | ||||
-rw-r--r-- | contrib/tools/python3/src/Modules/CMakeLists.darwin.txt | 137 | ||||
-rw-r--r-- | contrib/tools/python3/src/Modules/CMakeLists.linux.txt | 136 | ||||
-rw-r--r-- | contrib/tools/python3/src/Modules/CMakeLists.txt | 13 | ||||
-rw-r--r-- | contrib/tools/python3/src/Modules/_sqlite/CMakeLists.txt | 34 |
7 files changed, 653 insertions, 0 deletions
diff --git a/contrib/tools/python3/src/CMakeLists.darwin.txt b/contrib/tools/python3/src/CMakeLists.darwin.txt new file mode 100644 index 0000000000..23cecd74f4 --- /dev/null +++ b/contrib/tools/python3/src/CMakeLists.darwin.txt @@ -0,0 +1,163 @@ + +# 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(tools-python3-src) +target_compile_options(tools-python3-src PRIVATE + -DPy_BUILD_CORE +) +target_include_directories(tools-python3-src PRIVATE + ${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(tools-python3-src PUBLIC + contrib-libs-cxxsupp + python3-src-Modules +) +target_link_options(tools-python3-src INTERFACE + -framework + CoreFoundation + -framework + SystemConfiguration +) +target_sources(tools-python3-src PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_functoolsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/_iomodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/bufferedio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/bytesio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/fileio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/iobase.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/stringio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/textio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/winconsoleio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_threadmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/config.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/gcmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/main.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/mmapmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/posixmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/signalmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/timemodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/abstract.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/accu.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/boolobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/bytearrayobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/bytes_methods.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/bytesobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/call.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/capsule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/cellobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/classobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/codeobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/complexobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/descrobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/dictobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/enumobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/exceptions.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/fileobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/floatobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/frameobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/funcobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/genericaliasobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/genobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/interpreteridobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/iterobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/listobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/longobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/memoryobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/methodobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/moduleobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/namespaceobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/object.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/obmalloc.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/odictobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/picklebufobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/rangeobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/setobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/sliceobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/structseq.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/tupleobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/typeobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/unicodectype.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/unicodeobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/weakrefobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/acceler.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/grammar1.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/listnode.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/myreadline.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/node.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/parser.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/parsetok.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/parse.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/parse_string.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/peg_api.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/pegen.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/token.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/tokenizer.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/Python-ast.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/_warnings.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/asdl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ast.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ast_opt.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ast_unparse.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/bltinmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/bootstrap_hash.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ceval.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/codecs.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/compile.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/context.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/dtoa.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/dynamic_annotations.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/errors.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/fileutils.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/formatter_unicode.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/frozen.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/frozenmain.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/future.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getargs.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getcompiler.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getcopyright.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getopt.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getplatform.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getversion.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/graminit.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/hamt.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/hashtable.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/import.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/importdl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/initconfig.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/marshal.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/modsupport.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/mysnprintf.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/mystrtoul.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pathconfig.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/peephole.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/preconfig.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyarena.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyctype.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyfpe.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyhash.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pylifecycle.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pymath.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystate.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystrcmp.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystrhex.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystrtod.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pythonrun.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pytime.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/structmember.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/symtable.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/sysmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/thread.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/traceback.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/getpath.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/dynload_shlib.c +) diff --git a/contrib/tools/python3/src/CMakeLists.linux.txt b/contrib/tools/python3/src/CMakeLists.linux.txt new file mode 100644 index 0000000000..4ec036fbe1 --- /dev/null +++ b/contrib/tools/python3/src/CMakeLists.linux.txt @@ -0,0 +1,157 @@ + +# 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(tools-python3-src) +target_compile_options(tools-python3-src PRIVATE + -DPy_BUILD_CORE +) +target_include_directories(tools-python3-src PRIVATE + ${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(tools-python3-src PUBLIC + contrib-libs-cxxsupp + python3-src-Modules +) +target_sources(tools-python3-src PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_functoolsmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/_iomodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/bufferedio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/bytesio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/fileio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/iobase.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/stringio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/textio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_io/winconsoleio.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/_threadmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/config.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/gcmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/main.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/mmapmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/posixmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/signalmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/timemodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/abstract.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/accu.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/boolobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/bytearrayobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/bytes_methods.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/bytesobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/call.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/capsule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/cellobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/classobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/codeobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/complexobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/descrobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/dictobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/enumobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/exceptions.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/fileobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/floatobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/frameobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/funcobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/genericaliasobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/genobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/interpreteridobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/iterobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/listobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/longobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/memoryobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/methodobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/moduleobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/namespaceobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/object.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/obmalloc.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/odictobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/picklebufobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/rangeobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/setobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/sliceobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/structseq.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/tupleobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/typeobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/unicodectype.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/unicodeobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Objects/weakrefobject.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/acceler.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/grammar1.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/listnode.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/myreadline.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/node.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/parser.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/parsetok.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/parse.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/parse_string.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/peg_api.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/pegen/pegen.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/token.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Parser/tokenizer.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/Python-ast.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/_warnings.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/asdl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ast.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ast_opt.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ast_unparse.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/bltinmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/bootstrap_hash.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/ceval.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/codecs.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/compile.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/context.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/dtoa.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/dynamic_annotations.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/errors.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/fileutils.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/formatter_unicode.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/frozen.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/frozenmain.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/future.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getargs.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getcompiler.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getcopyright.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getopt.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getplatform.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/getversion.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/graminit.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/hamt.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/hashtable.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/import.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/importdl.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/initconfig.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/marshal.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/modsupport.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/mysnprintf.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/mystrtoul.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pathconfig.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/peephole.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/preconfig.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyarena.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyctype.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyfpe.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pyhash.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pylifecycle.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pymath.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystate.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystrcmp.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystrhex.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pystrtod.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pythonrun.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/pytime.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/structmember.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/symtable.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/sysmodule.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/thread.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/traceback.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Modules/getpath.c + ${CMAKE_SOURCE_DIR}/contrib/tools/python3/src/Python/dynload_shlib.c +) diff --git a/contrib/tools/python3/src/CMakeLists.txt b/contrib/tools/python3/src/CMakeLists.txt new file mode 100644 index 0000000000..a681d385f3 --- /dev/null +++ b/contrib/tools/python3/src/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/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 +) |