aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniil Cherednik <dcherednik@yandex-team.ru>2022-04-08 21:20:14 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-04-08 21:20:14 +0300
commitd6efaab16218e74875dd94c978b659d867327aa4 (patch)
tree7b94679be430d5f7e311766882f371a57b17dca3
parent928a92f82931e03961e4eac761c7f68d5d8070ba (diff)
downloadydb-d6efaab16218e74875dd94c978b659d867327aa4.tar.gz
Add rule to generate cmake file. KIKIMR-14679
ref:520f7b10e2f41d081d1552c1ce75159826498334
-rw-r--r--CMakeLists.darwin.txt12
-rw-r--r--CMakeLists.linux.txt11
-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
-rw-r--r--contrib/restricted/libffi/CMakeLists.darwin.txt38
-rw-r--r--contrib/restricted/libffi/CMakeLists.linux.txt38
-rw-r--r--contrib/restricted/libffi/CMakeLists.txt13
-rw-r--r--contrib/tools/python3/lib/CMakeLists.txt21
-rw-r--r--contrib/tools/python3/src/CMakeLists.darwin.txt163
-rw-r--r--contrib/tools/python3/src/CMakeLists.linux.txt157
-rw-r--r--contrib/tools/python3/src/CMakeLists.txt13
-rw-r--r--contrib/tools/python3/src/Modules/CMakeLists.darwin.txt137
-rw-r--r--contrib/tools/python3/src/Modules/CMakeLists.linux.txt136
-rw-r--r--contrib/tools/python3/src/Modules/CMakeLists.txt13
-rw-r--r--contrib/tools/python3/src/Modules/_sqlite/CMakeLists.txt34
-rw-r--r--library/python/symbols/libc/CMakeLists.txt28
-rw-r--r--library/python/symbols/python/CMakeLists.txt25
-rw-r--r--library/python/symbols/registry/CMakeLists.txt17
-rw-r--r--ydb/library/yql/providers/function/expr_nodes/CMakeLists.txt37
22 files changed, 29 insertions, 1077 deletions
diff --git a/CMakeLists.darwin.txt b/CMakeLists.darwin.txt
index 2a5257aa67..7029101e9c 100644
--- a/CMakeLists.darwin.txt
+++ b/CMakeLists.darwin.txt
@@ -1203,18 +1203,6 @@ add_subdirectory(ydb/library/yql/providers/common/schema)
add_subdirectory(ydb/library/yql/providers/common/schema/skiff)
add_subdirectory(ydb/library/yql/providers/function/provider)
add_subdirectory(ydb/library/yql/providers/function/expr_nodes)
-add_subdirectory(contrib/tools/python3/src)
-add_subdirectory(contrib/tools/python3/src/Modules)
-add_subdirectory(contrib/libs/expat)
-add_subdirectory(contrib/libs/xz/liblzma)
-add_subdirectory(contrib/libs/xz/common)
-add_subdirectory(contrib/restricted/libffi)
-add_subdirectory(library/python/symbols/libc)
-add_subdirectory(library/python/symbols/registry)
-add_subdirectory(library/python/symbols/python)
-add_subdirectory(contrib/tools/python3/lib)
-add_subdirectory(contrib/tools/python3/src/Modules/_sqlite)
-add_subdirectory(contrib/libs/sqlite3)
add_subdirectory(ydb/library/yql/providers/function/common)
add_subdirectory(ydb/library/yql/providers/function/gateway)
add_subdirectory(ydb/library/yql/public/decimal/ut)
diff --git a/CMakeLists.linux.txt b/CMakeLists.linux.txt
index 234223c95a..f9f0c525ee 100644
--- a/CMakeLists.linux.txt
+++ b/CMakeLists.linux.txt
@@ -1298,17 +1298,6 @@ add_subdirectory(ydb/library/yql/providers/common/schema)
add_subdirectory(ydb/library/yql/providers/common/schema/skiff)
add_subdirectory(ydb/library/yql/providers/function/provider)
add_subdirectory(ydb/library/yql/providers/function/expr_nodes)
-add_subdirectory(contrib/tools/python3/src)
-add_subdirectory(contrib/tools/python3/src/Modules)
-add_subdirectory(contrib/libs/xz/liblzma)
-add_subdirectory(contrib/libs/xz/common)
-add_subdirectory(contrib/restricted/libffi)
-add_subdirectory(library/python/symbols/libc)
-add_subdirectory(library/python/symbols/registry)
-add_subdirectory(library/python/symbols/python)
-add_subdirectory(contrib/tools/python3/lib)
-add_subdirectory(contrib/tools/python3/src/Modules/_sqlite)
-add_subdirectory(contrib/libs/sqlite3)
add_subdirectory(ydb/library/yql/providers/function/common)
add_subdirectory(ydb/library/yql/providers/function/gateway)
add_subdirectory(ydb/library/yql/public/decimal/ut)
diff --git a/contrib/libs/expat/CMakeLists.linux.txt b/contrib/libs/expat/CMakeLists.linux.txt
new file mode 100644
index 0000000000..242054b589
--- /dev/null
+++ b/contrib/libs/expat/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# 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 242054b589..c031ddb850 100644
--- a/contrib/libs/expat/CMakeLists.txt
+++ b/contrib/libs/expat/CMakeLists.txt
@@ -6,17 +6,6 @@
# 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
-)
+if (UNIX)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/contrib/libs/sqlite3/CMakeLists.txt b/contrib/libs/sqlite3/CMakeLists.txt
deleted file mode 100644
index 7a5a1ce6c1..0000000000
--- a/contrib/libs/sqlite3/CMakeLists.txt
+++ /dev/null
@@ -1,42 +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-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
deleted file mode 100644
index a9f5098f6d..0000000000
--- a/contrib/libs/xz/common/CMakeLists.txt
+++ /dev/null
@@ -1,24 +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(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
deleted file mode 100644
index 3926ba1729..0000000000
--- a/contrib/libs/xz/liblzma/CMakeLists.txt
+++ /dev/null
@@ -1,108 +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(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
-)
diff --git a/contrib/restricted/libffi/CMakeLists.darwin.txt b/contrib/restricted/libffi/CMakeLists.darwin.txt
deleted file mode 100644
index 09883b16d1..0000000000
--- a/contrib/restricted/libffi/CMakeLists.darwin.txt
+++ /dev/null
@@ -1,38 +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-restricted-libffi)
-target_compile_options(contrib-restricted-libffi PUBLIC
- -DFFI_BUILDING
-)
-target_compile_options(contrib-restricted-libffi PRIVATE
- -DHAVE_CONFIG_H
-)
-target_include_directories(contrib-restricted-libffi PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-apple-macosx/include
-)
-target_include_directories(contrib-restricted-libffi PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-apple-macosx
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-apple-macosx/include
-)
-target_sources(contrib-restricted-libffi PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/closures.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/java_raw_api.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/prep_cif.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/raw_api.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/types.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/ffi64.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/ffiw64.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/unix64.S
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/win64.S
-)
diff --git a/contrib/restricted/libffi/CMakeLists.linux.txt b/contrib/restricted/libffi/CMakeLists.linux.txt
deleted file mode 100644
index 838df7bbc8..0000000000
--- a/contrib/restricted/libffi/CMakeLists.linux.txt
+++ /dev/null
@@ -1,38 +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-restricted-libffi)
-target_compile_options(contrib-restricted-libffi PUBLIC
- -DFFI_BUILDING
-)
-target_compile_options(contrib-restricted-libffi PRIVATE
- -DHAVE_CONFIG_H
-)
-target_include_directories(contrib-restricted-libffi PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-pc-linux-gnu/include
-)
-target_include_directories(contrib-restricted-libffi PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/include
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-pc-linux-gnu
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/configs/x86_64-pc-linux-gnu/include
-)
-target_sources(contrib-restricted-libffi PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/closures.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/java_raw_api.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/prep_cif.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/raw_api.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/types.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/ffi64.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/ffiw64.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/unix64.S
- ${CMAKE_SOURCE_DIR}/contrib/restricted/libffi/src/x86/win64.S
-)
diff --git a/contrib/restricted/libffi/CMakeLists.txt b/contrib/restricted/libffi/CMakeLists.txt
deleted file mode 100644
index a681d385f3..0000000000
--- a/contrib/restricted/libffi/CMakeLists.txt
+++ /dev/null
@@ -1,13 +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.
-
-
-if (APPLE)
- include(CMakeLists.darwin.txt)
-elseif (UNIX)
- include(CMakeLists.linux.txt)
-endif()
diff --git a/contrib/tools/python3/lib/CMakeLists.txt b/contrib/tools/python3/lib/CMakeLists.txt
deleted file mode 100644
index 879b9caf41..0000000000
--- a/contrib/tools/python3/lib/CMakeLists.txt
+++ /dev/null
@@ -1,21 +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(tools-python3-lib INTERFACE)
-target_link_libraries(tools-python3-lib INTERFACE
- contrib-libs-cxxsupp
- yutil
- tools-python3-src
- contrib-libs-cxxsupp
- yutil
- certs
- contrib-libs-cxxsupp
- yutil
- python3-src-Modules
-)
diff --git a/contrib/tools/python3/src/CMakeLists.darwin.txt b/contrib/tools/python3/src/CMakeLists.darwin.txt
deleted file mode 100644
index 23cecd74f4..0000000000
--- a/contrib/tools/python3/src/CMakeLists.darwin.txt
+++ /dev/null
@@ -1,163 +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(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
deleted file mode 100644
index 4ec036fbe1..0000000000
--- a/contrib/tools/python3/src/CMakeLists.linux.txt
+++ /dev/null
@@ -1,157 +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(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
deleted file mode 100644
index a681d385f3..0000000000
--- a/contrib/tools/python3/src/CMakeLists.txt
+++ /dev/null
@@ -1,13 +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.
-
-
-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
deleted file mode 100644
index 3e2d70ca0a..0000000000
--- a/contrib/tools/python3/src/Modules/CMakeLists.darwin.txt
+++ /dev/null
@@ -1,137 +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.
-
-
-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
deleted file mode 100644
index 044d4878b5..0000000000
--- a/contrib/tools/python3/src/Modules/CMakeLists.linux.txt
+++ /dev/null
@@ -1,136 +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.
-
-
-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
deleted file mode 100644
index a681d385f3..0000000000
--- a/contrib/tools/python3/src/Modules/CMakeLists.txt
+++ /dev/null
@@ -1,13 +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.
-
-
-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
deleted file mode 100644
index eb51a0826b..0000000000
--- a/contrib/tools/python3/src/Modules/_sqlite/CMakeLists.txt
+++ /dev/null
@@ -1,34 +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(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
-)
diff --git a/library/python/symbols/libc/CMakeLists.txt b/library/python/symbols/libc/CMakeLists.txt
deleted file mode 100644
index ef018b607f..0000000000
--- a/library/python/symbols/libc/CMakeLists.txt
+++ /dev/null
@@ -1,28 +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(python-symbols-libc INTERFACE)
-target_link_libraries(python-symbols-libc INTERFACE
- contrib-libs-cxxsupp
- yutil
- python-symbols-registry
-)
-
-add_global_library_for(python-symbols-libc.global python-symbols-libc)
-target_compile_options(python-symbols-libc.global PRIVATE
- -Wno-deprecated-declarations
-)
-target_link_libraries(python-symbols-libc.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- python-symbols-registry
-)
-target_sources(python-symbols-libc.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/python/symbols/libc/syms.cpp
-)
diff --git a/library/python/symbols/python/CMakeLists.txt b/library/python/symbols/python/CMakeLists.txt
deleted file mode 100644
index 3993e19c91..0000000000
--- a/library/python/symbols/python/CMakeLists.txt
+++ /dev/null
@@ -1,25 +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(python-symbols-python INTERFACE)
-target_link_libraries(python-symbols-python INTERFACE
- contrib-libs-cxxsupp
- yutil
- python-symbols-registry
-)
-
-add_global_library_for(python-symbols-python.global python-symbols-python)
-target_link_libraries(python-symbols-python.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- python-symbols-registry
-)
-target_sources(python-symbols-python.global PRIVATE
- ${CMAKE_SOURCE_DIR}/library/python/symbols/python/syms.cpp
-)
diff --git a/library/python/symbols/registry/CMakeLists.txt b/library/python/symbols/registry/CMakeLists.txt
deleted file mode 100644
index 89e8f9ba17..0000000000
--- a/library/python/symbols/registry/CMakeLists.txt
+++ /dev/null
@@ -1,17 +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(python-symbols-registry)
-target_link_libraries(python-symbols-registry PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(python-symbols-registry PRIVATE
- ${CMAKE_SOURCE_DIR}/library/python/symbols/registry/syms.cpp
-)
diff --git a/ydb/library/yql/providers/function/expr_nodes/CMakeLists.txt b/ydb/library/yql/providers/function/expr_nodes/CMakeLists.txt
index 1fe82d4847..9381a2af67 100644
--- a/ydb/library/yql/providers/function/expr_nodes/CMakeLists.txt
+++ b/ydb/library/yql/providers/function/expr_nodes/CMakeLists.txt
@@ -6,49 +6,19 @@
# original buildsystem will not be accepted.
+find_package(Python3 REQUIRED)
add_library(providers-function-expr_nodes)
target_link_libraries(providers-function-expr_nodes PUBLIC
contrib-libs-cxxsupp
yutil
yql-core-expr_nodes
- contrib-libs-cxxsupp
- yutil
- contrib-libs-cxxsupp
- yutil
- contrib-libs-cxxsupp
- yutil
- tools-python3-src
- contrib-libs-cxxsupp
- yutil
- python-symbols-libc
- python-symbols-python
- tools-python3-lib
- contrib-libs-cxxsupp
- yutil
- tools-python3-src
- library-cpp-resource
- contrib-libs-cxxsupp
- yutil
- contrib-libs-cxxsupp
- yutil
- contrib-libs-cxxsupp
- yutil
- contrib-libs-cxxsupp
- yutil
- contrib-libs-cxxsupp
- yutil
- cpp-malloc-jemalloc
- library-cpp-cpuid_check
- src-Modules-_sqlite
)
target_sources(providers-function-expr_nodes PRIVATE
${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/function/expr_nodes/dq_function_expr_nodes.cpp
${CMAKE_BINARY_DIR}/ydb/library/yql/providers/function/expr_nodes/dq_function_expr_nodes.gen.h
${CMAKE_BINARY_DIR}/ydb/library/yql/providers/function/expr_nodes/dq_function_expr_nodes.decl.inl.h
${CMAKE_BINARY_DIR}/ydb/library/yql/providers/function/expr_nodes/dq_function_expr_nodes.defs.inl.h
- ${CMAKE_SOURCE_DIR}/library/python/symbols/module/module.cpp
- ${CMAKE_SOURCE_DIR}/contrib/python/MarkupSafe/py3/markupsafe/_speedups.c
)
add_custom_command(
OUTPUT
@@ -58,9 +28,10 @@ add_custom_command(
DEPENDS
${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj
${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/function/expr_nodes/dq_function_expr_nodes.json
- ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen
+ ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py
COMMAND
- ${CMAKE_BINARY_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/gen
+ Python3::Interpreter
+ ${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/gen/__main__.py
${CMAKE_SOURCE_DIR}/ydb/library/yql/core/expr_nodes_gen/yql_expr_nodes_gen.jnj
${CMAKE_SOURCE_DIR}/ydb/library/yql/providers/function/expr_nodes/dq_function_expr_nodes.json
${CMAKE_BINARY_DIR}/ydb/library/yql/providers/function/expr_nodes/dq_function_expr_nodes.gen.h