diff options
author | vvvv <vvvv@ydb.tech> | 2023-07-31 18:21:04 +0300 |
---|---|---|
committer | vvvv <vvvv@ydb.tech> | 2023-07-31 18:21:04 +0300 |
commit | dec41c40e51aa407edef81a3c566a5a15780fc49 (patch) | |
tree | 4f197b596b32f35eca368121f0dff913419da9af /yql/udfs | |
parent | 3ca8b54c96e09eb2b65be7f09675623438d559c7 (diff) | |
download | ydb-dec41c40e51aa407edef81a3c566a5a15780fc49.tar.gz |
YQL-16239 Move purecalc to public
Diffstat (limited to 'yql/udfs')
-rw-r--r-- | yql/udfs/CMakeLists.txt | 9 | ||||
-rw-r--r-- | yql/udfs/common/CMakeLists.txt | 10 | ||||
-rw-r--r-- | yql/udfs/common/ip/CMakeLists.darwin-x86_64.txt | 36 | ||||
-rw-r--r-- | yql/udfs/common/ip/CMakeLists.linux-aarch64.txt | 38 | ||||
-rw-r--r-- | yql/udfs/common/ip/CMakeLists.linux-x86_64.txt | 38 | ||||
-rw-r--r-- | yql/udfs/common/ip/CMakeLists.txt | 17 | ||||
-rw-r--r-- | yql/udfs/common/ip/CMakeLists.windows-x86_64.txt | 36 | ||||
-rw-r--r-- | yql/udfs/common/url/CMakeLists.darwin-x86_64.txt | 42 | ||||
-rw-r--r-- | yql/udfs/common/url/CMakeLists.linux-aarch64.txt | 44 | ||||
-rw-r--r-- | yql/udfs/common/url/CMakeLists.linux-x86_64.txt | 44 | ||||
-rw-r--r-- | yql/udfs/common/url/CMakeLists.txt | 17 | ||||
-rw-r--r-- | yql/udfs/common/url/CMakeLists.windows-x86_64.txt | 42 |
12 files changed, 373 insertions, 0 deletions
diff --git a/yql/udfs/CMakeLists.txt b/yql/udfs/CMakeLists.txt new file mode 100644 index 0000000000..867161a12c --- /dev/null +++ b/yql/udfs/CMakeLists.txt @@ -0,0 +1,9 @@ + +# 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(common) diff --git a/yql/udfs/common/CMakeLists.txt b/yql/udfs/common/CMakeLists.txt new file mode 100644 index 0000000000..46c961352b --- /dev/null +++ b/yql/udfs/common/CMakeLists.txt @@ -0,0 +1,10 @@ + +# 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(ip) +add_subdirectory(url) diff --git a/yql/udfs/common/ip/CMakeLists.darwin-x86_64.txt b/yql/udfs/common/ip/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..8c6217f557 --- /dev/null +++ b/yql/udfs/common/ip/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,36 @@ + +# 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(ip_udf INTERFACE) +target_link_libraries(ip_udf INTERFACE + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + library-cpp-ipreg + common-ip_base-lib +) + +add_global_library_for(ip_udf.global ip_udf) +target_compile_options(ip_udf.global PRIVATE + -DUDF_ABI_VERSION_MAJOR=2 + -DUDF_ABI_VERSION_MINOR=28 + -DUDF_ABI_VERSION_PATCH=0 +) +target_link_libraries(ip_udf.global PUBLIC + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + library-cpp-ipreg + common-ip_base-lib +) +target_sources(ip_udf.global PRIVATE + ${CMAKE_SOURCE_DIR}/yql/udfs/common/ip/ip_udf.cpp +) diff --git a/yql/udfs/common/ip/CMakeLists.linux-aarch64.txt b/yql/udfs/common/ip/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..9e54b0014d --- /dev/null +++ b/yql/udfs/common/ip/CMakeLists.linux-aarch64.txt @@ -0,0 +1,38 @@ + +# 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(ip_udf INTERFACE) +target_link_libraries(ip_udf INTERFACE + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + library-cpp-ipreg + common-ip_base-lib +) + +add_global_library_for(ip_udf.global ip_udf) +target_compile_options(ip_udf.global PRIVATE + -DUDF_ABI_VERSION_MAJOR=2 + -DUDF_ABI_VERSION_MINOR=28 + -DUDF_ABI_VERSION_PATCH=0 +) +target_link_libraries(ip_udf.global PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + library-cpp-ipreg + common-ip_base-lib +) +target_sources(ip_udf.global PRIVATE + ${CMAKE_SOURCE_DIR}/yql/udfs/common/ip/ip_udf.cpp +) diff --git a/yql/udfs/common/ip/CMakeLists.linux-x86_64.txt b/yql/udfs/common/ip/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..9e54b0014d --- /dev/null +++ b/yql/udfs/common/ip/CMakeLists.linux-x86_64.txt @@ -0,0 +1,38 @@ + +# 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(ip_udf INTERFACE) +target_link_libraries(ip_udf INTERFACE + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + library-cpp-ipreg + common-ip_base-lib +) + +add_global_library_for(ip_udf.global ip_udf) +target_compile_options(ip_udf.global PRIVATE + -DUDF_ABI_VERSION_MAJOR=2 + -DUDF_ABI_VERSION_MINOR=28 + -DUDF_ABI_VERSION_PATCH=0 +) +target_link_libraries(ip_udf.global PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + library-cpp-ipreg + common-ip_base-lib +) +target_sources(ip_udf.global PRIVATE + ${CMAKE_SOURCE_DIR}/yql/udfs/common/ip/ip_udf.cpp +) diff --git a/yql/udfs/common/ip/CMakeLists.txt b/yql/udfs/common/ip/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/yql/udfs/common/ip/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + 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 (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) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/yql/udfs/common/ip/CMakeLists.windows-x86_64.txt b/yql/udfs/common/ip/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..8c6217f557 --- /dev/null +++ b/yql/udfs/common/ip/CMakeLists.windows-x86_64.txt @@ -0,0 +1,36 @@ + +# 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(ip_udf INTERFACE) +target_link_libraries(ip_udf INTERFACE + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + library-cpp-ipreg + common-ip_base-lib +) + +add_global_library_for(ip_udf.global ip_udf) +target_compile_options(ip_udf.global PRIVATE + -DUDF_ABI_VERSION_MAJOR=2 + -DUDF_ABI_VERSION_MINOR=28 + -DUDF_ABI_VERSION_PATCH=0 +) +target_link_libraries(ip_udf.global PUBLIC + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + library-cpp-ipreg + common-ip_base-lib +) +target_sources(ip_udf.global PRIVATE + ${CMAKE_SOURCE_DIR}/yql/udfs/common/ip/ip_udf.cpp +) diff --git a/yql/udfs/common/url/CMakeLists.darwin-x86_64.txt b/yql/udfs/common/url/CMakeLists.darwin-x86_64.txt new file mode 100644 index 0000000000..5b6b766df7 --- /dev/null +++ b/yql/udfs/common/url/CMakeLists.darwin-x86_64.txt @@ -0,0 +1,42 @@ + +# 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(url_udf INTERFACE) +target_link_libraries(url_udf INTERFACE + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + kernel-hosts-owner + kernel-urlnorm + library-cpp-robots_txt + common-url_base-lib + yweb-robot-dbscheeme +) + +add_global_library_for(url_udf.global url_udf) +target_compile_options(url_udf.global PRIVATE + -DUDF_ABI_VERSION_MAJOR=2 + -DUDF_ABI_VERSION_MINOR=33 + -DUDF_ABI_VERSION_PATCH=0 +) +target_link_libraries(url_udf.global PUBLIC + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + kernel-hosts-owner + kernel-urlnorm + library-cpp-robots_txt + common-url_base-lib + yweb-robot-dbscheeme +) +target_sources(url_udf.global PRIVATE + ${CMAKE_SOURCE_DIR}/yql/udfs/common/url/url_udf.cpp +) diff --git a/yql/udfs/common/url/CMakeLists.linux-aarch64.txt b/yql/udfs/common/url/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..467982bd9d --- /dev/null +++ b/yql/udfs/common/url/CMakeLists.linux-aarch64.txt @@ -0,0 +1,44 @@ + +# 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(url_udf INTERFACE) +target_link_libraries(url_udf INTERFACE + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + kernel-hosts-owner + kernel-urlnorm + library-cpp-robots_txt + common-url_base-lib + yweb-robot-dbscheeme +) + +add_global_library_for(url_udf.global url_udf) +target_compile_options(url_udf.global PRIVATE + -DUDF_ABI_VERSION_MAJOR=2 + -DUDF_ABI_VERSION_MINOR=33 + -DUDF_ABI_VERSION_PATCH=0 +) +target_link_libraries(url_udf.global PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + kernel-hosts-owner + kernel-urlnorm + library-cpp-robots_txt + common-url_base-lib + yweb-robot-dbscheeme +) +target_sources(url_udf.global PRIVATE + ${CMAKE_SOURCE_DIR}/yql/udfs/common/url/url_udf.cpp +) diff --git a/yql/udfs/common/url/CMakeLists.linux-x86_64.txt b/yql/udfs/common/url/CMakeLists.linux-x86_64.txt new file mode 100644 index 0000000000..467982bd9d --- /dev/null +++ b/yql/udfs/common/url/CMakeLists.linux-x86_64.txt @@ -0,0 +1,44 @@ + +# 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(url_udf INTERFACE) +target_link_libraries(url_udf INTERFACE + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + kernel-hosts-owner + kernel-urlnorm + library-cpp-robots_txt + common-url_base-lib + yweb-robot-dbscheeme +) + +add_global_library_for(url_udf.global url_udf) +target_compile_options(url_udf.global PRIVATE + -DUDF_ABI_VERSION_MAJOR=2 + -DUDF_ABI_VERSION_MINOR=33 + -DUDF_ABI_VERSION_PATCH=0 +) +target_link_libraries(url_udf.global PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + kernel-hosts-owner + kernel-urlnorm + library-cpp-robots_txt + common-url_base-lib + yweb-robot-dbscheeme +) +target_sources(url_udf.global PRIVATE + ${CMAKE_SOURCE_DIR}/yql/udfs/common/url/url_udf.cpp +) diff --git a/yql/udfs/common/url/CMakeLists.txt b/yql/udfs/common/url/CMakeLists.txt new file mode 100644 index 0000000000..f8b31df0c1 --- /dev/null +++ b/yql/udfs/common/url/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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. + + +if (CMAKE_SYSTEM_NAME STREQUAL "Linux" AND CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND NOT HAVE_CUDA) + 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 (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) + include(CMakeLists.linux-x86_64.txt) +endif() diff --git a/yql/udfs/common/url/CMakeLists.windows-x86_64.txt b/yql/udfs/common/url/CMakeLists.windows-x86_64.txt new file mode 100644 index 0000000000..5b6b766df7 --- /dev/null +++ b/yql/udfs/common/url/CMakeLists.windows-x86_64.txt @@ -0,0 +1,42 @@ + +# 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(url_udf INTERFACE) +target_link_libraries(url_udf INTERFACE + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + kernel-hosts-owner + kernel-urlnorm + library-cpp-robots_txt + common-url_base-lib + yweb-robot-dbscheeme +) + +add_global_library_for(url_udf.global url_udf) +target_compile_options(url_udf.global PRIVATE + -DUDF_ABI_VERSION_MAJOR=2 + -DUDF_ABI_VERSION_MINOR=33 + -DUDF_ABI_VERSION_PATCH=0 +) +target_link_libraries(url_udf.global PUBLIC + contrib-libs-cxxsupp + yutil + yql-public-udf + public-udf-support + kernel-hosts-owner + kernel-urlnorm + library-cpp-robots_txt + common-url_base-lib + yweb-robot-dbscheeme +) +target_sources(url_udf.global PRIVATE + ${CMAKE_SOURCE_DIR}/yql/udfs/common/url/url_udf.cpp +) |