diff options
author | dcherednik <dcherednik@ydb.tech> | 2023-11-20 13:23:37 +0300 |
---|---|---|
committer | dcherednik <dcherednik@ydb.tech> | 2023-11-20 14:34:20 +0300 |
commit | ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6 (patch) | |
tree | 47612a33d11873a4ffb450f68a720efeb9b21cb4 /yt/yql | |
parent | 6d8d9a430dea2bfa0e6ce219a8e4f62f02fd2884 (diff) | |
download | ydb-ffff7a34e41bf0dd7d5e0f3d78aeaebbf56200e6.tar.gz |
add darwin-arm64 CMakeLists
Diffstat (limited to 'yt/yql')
-rw-r--r-- | yt/yql/plugin/CMakeLists.darwin-arm64.txt | 19 | ||||
-rw-r--r-- | yt/yql/plugin/CMakeLists.txt | 2 | ||||
-rw-r--r-- | yt/yql/plugin/dynamic/CMakeLists.darwin-arm64.txt | 31 | ||||
-rw-r--r-- | yt/yql/plugin/dynamic/CMakeLists.txt | 2 | ||||
-rw-r--r-- | yt/yql/plugin/native/CMakeLists.darwin-arm64.txt | 99 | ||||
-rw-r--r-- | yt/yql/plugin/native/CMakeLists.txt | 2 |
6 files changed, 155 insertions, 0 deletions
diff --git a/yt/yql/plugin/CMakeLists.darwin-arm64.txt b/yt/yql/plugin/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..e4e42a5389 --- /dev/null +++ b/yt/yql/plugin/CMakeLists.darwin-arm64.txt @@ -0,0 +1,19 @@ + +# This file was generated 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_subdirectory(dynamic) +add_subdirectory(native) + +add_library(yt-yql-plugin) +target_link_libraries(yt-yql-plugin PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(yt-yql-plugin PRIVATE + ${CMAKE_SOURCE_DIR}/yt/yql/plugin/plugin.cpp +) diff --git a/yt/yql/plugin/CMakeLists.txt b/yt/yql/plugin/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/yql/plugin/CMakeLists.txt +++ b/yt/yql/plugin/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/yql/plugin/dynamic/CMakeLists.darwin-arm64.txt b/yt/yql/plugin/dynamic/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..bb76915330 --- /dev/null +++ b/yt/yql/plugin/dynamic/CMakeLists.darwin-arm64.txt @@ -0,0 +1,31 @@ + +# This file was generated 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_shared_library(yqlplugin) +target_link_libraries(yqlplugin PUBLIC + contrib-libs-cxxsupp + yutil + yql-plugin-native +) +target_link_options(yqlplugin PRIVATE + -Wl,-platform_version,macos,11.0,11.0 + -fPIC + -undefined + dynamic_lookup + -fPIC + -framework + CoreFoundation +) +target_sources(yqlplugin PRIVATE + ${CMAKE_SOURCE_DIR}/yt/yql/plugin/dynamic/impl.cpp +) +use_export_script(yqlplugin + ${CMAKE_SOURCE_DIR}/yt/yql/plugin/dynamic/dylib.exports +) +vcs_info(yqlplugin) diff --git a/yt/yql/plugin/dynamic/CMakeLists.txt b/yt/yql/plugin/dynamic/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/yql/plugin/dynamic/CMakeLists.txt +++ b/yt/yql/plugin/dynamic/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) diff --git a/yt/yql/plugin/native/CMakeLists.darwin-arm64.txt b/yt/yql/plugin/native/CMakeLists.darwin-arm64.txt new file mode 100644 index 0000000000..04a6b539a5 --- /dev/null +++ b/yt/yql/plugin/native/CMakeLists.darwin-arm64.txt @@ -0,0 +1,99 @@ + +# This file was generated 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(yql-plugin-native) +target_compile_options(yql-plugin-native PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_link_libraries(yql-plugin-native PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf + library-cpp-resource + library-cpp-yson + cpp-yson-node + cpp-mapreduce-client + cpp-mapreduce-common + yt-library-program + library-yql-ast + yql-sql-pg + yql-parser-pg_wrapper + yql-core-facade + yql-core-file_storage + core-file_storage-proto + core-file_storage-http_download + yql-core-progress_merger + core-services-mounts + yql-core-user_data + library-yql-minikql + library-yql-protos + udf-service-exception_policy + yql-utils-backtrace + yql-utils-log + providers-common-proto + providers-common-udf_resolve + providers-solomon-gateway + providers-solomon-provider + library-yql-core + yql-core-url_preprocessing + yt-gateway-native + yt-lib-log + yt-lib-yt_download + providers-yt-provider + yt-yql-plugin +) +target_sources(yql-plugin-native PRIVATE + ${CMAKE_SOURCE_DIR}/yt/yql/plugin/native/error_helpers.cpp + ${CMAKE_SOURCE_DIR}/yt/yql/plugin/native/progress_merger.cpp +) + +add_global_library_for(yql-plugin-native.global yql-plugin-native) +target_compile_options(yql-plugin-native.global PRIVATE + -DUSE_CURRENT_UDF_ABI_VERSION +) +target_link_libraries(yql-plugin-native.global PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf + library-cpp-resource + library-cpp-yson + cpp-yson-node + cpp-mapreduce-client + cpp-mapreduce-common + yt-library-program + library-yql-ast + yql-sql-pg + yql-parser-pg_wrapper + yql-core-facade + yql-core-file_storage + core-file_storage-proto + core-file_storage-http_download + yql-core-progress_merger + core-services-mounts + yql-core-user_data + library-yql-minikql + library-yql-protos + udf-service-exception_policy + yql-utils-backtrace + yql-utils-log + providers-common-proto + providers-common-udf_resolve + providers-solomon-gateway + providers-solomon-provider + library-yql-core + yql-core-url_preprocessing + yt-gateway-native + yt-lib-log + yt-lib-yt_download + providers-yt-provider + yt-yql-plugin +) +target_sources(yql-plugin-native.global PRIVATE + ${CMAKE_SOURCE_DIR}/yt/yql/plugin/native/plugin.cpp +) diff --git a/yt/yql/plugin/native/CMakeLists.txt b/yt/yql/plugin/native/CMakeLists.txt index f8b31df0c1..2dce3a77fe 100644 --- a/yt/yql/plugin/native/CMakeLists.txt +++ b/yt/yql/plugin/native/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarc include(CMakeLists.linux-aarch64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") + include(CMakeLists.darwin-arm64.txt) elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND NOT HAVE_CUDA) |