diff options
author | svidyuk <svidyuk@yandex-team.com> | 2023-08-30 12:12:06 +0300 |
---|---|---|
committer | svidyuk <svidyuk@yandex-team.com> | 2023-08-30 12:42:20 +0300 |
commit | cb3da9494c53283f0230ad37e4e8d0ea61b7d8fc (patch) | |
tree | 98d10bf793b8e006a638ce08ed73a53b980b3828 /library/cpp/digest | |
parent | d7212c5b8f972c2ad657311361a3bd1b136f2c5f (diff) | |
download | ydb-cb3da9494c53283f0230ad37e4e8d0ea61b7d8fc.tar.gz |
All .ll files support in LLVM_BC
Diffstat (limited to 'library/cpp/digest')
9 files changed, 8 insertions, 188 deletions
diff --git a/library/cpp/digest/old_crc/CMakeLists.darwin-x86_64.txt b/library/cpp/digest/old_crc/CMakeLists.darwin-x86_64.txt index a4caa8c756..e9d2c33ffe 100644 --- a/library/cpp/digest/old_crc/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/digest/old_crc/CMakeLists.darwin-x86_64.txt @@ -6,13 +6,6 @@ # original buildsystem will not be accepted. -add_subdirectory(gencrc) -get_built_tool_path( - TOOL_gencrc_bin - TOOL_gencrc_dependency - library/cpp/digest/old_crc/gencrc - gencrc -) add_library(cpp-digest-old_crc) target_link_libraries(cpp-digest-old_crc PUBLIC @@ -27,14 +20,9 @@ add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc DEPENDS - ${TOOL_gencrc_bin} + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc COMMAND - ${TOOL_gencrc_bin} + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc > crc.inc ) -if(NOT CMAKE_CROSSCOMPILING) - add_dependencies(cpp-digest-old_crc - gencrc -) -endif() diff --git a/library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt b/library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt index a0883b65f5..63c1c715b1 100644 --- a/library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt +++ b/library/cpp/digest/old_crc/CMakeLists.linux-aarch64.txt @@ -6,13 +6,6 @@ # original buildsystem will not be accepted. -add_subdirectory(gencrc) -get_built_tool_path( - TOOL_gencrc_bin - TOOL_gencrc_dependency - library/cpp/digest/old_crc/gencrc - gencrc -) add_library(cpp-digest-old_crc) target_link_libraries(cpp-digest-old_crc PUBLIC @@ -28,14 +21,9 @@ add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc DEPENDS - ${TOOL_gencrc_bin} + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc COMMAND - ${TOOL_gencrc_bin} + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc > crc.inc ) -if(NOT CMAKE_CROSSCOMPILING) - add_dependencies(cpp-digest-old_crc - gencrc -) -endif() diff --git a/library/cpp/digest/old_crc/CMakeLists.linux-x86_64.txt b/library/cpp/digest/old_crc/CMakeLists.linux-x86_64.txt index a0883b65f5..63c1c715b1 100644 --- a/library/cpp/digest/old_crc/CMakeLists.linux-x86_64.txt +++ b/library/cpp/digest/old_crc/CMakeLists.linux-x86_64.txt @@ -6,13 +6,6 @@ # original buildsystem will not be accepted. -add_subdirectory(gencrc) -get_built_tool_path( - TOOL_gencrc_bin - TOOL_gencrc_dependency - library/cpp/digest/old_crc/gencrc - gencrc -) add_library(cpp-digest-old_crc) target_link_libraries(cpp-digest-old_crc PUBLIC @@ -28,14 +21,9 @@ add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc DEPENDS - ${TOOL_gencrc_bin} + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc COMMAND - ${TOOL_gencrc_bin} + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc > crc.inc ) -if(NOT CMAKE_CROSSCOMPILING) - add_dependencies(cpp-digest-old_crc - gencrc -) -endif() diff --git a/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt b/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt index a4caa8c756..46890b5496 100644 --- a/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt +++ b/library/cpp/digest/old_crc/CMakeLists.windows-x86_64.txt @@ -6,13 +6,6 @@ # original buildsystem will not be accepted. -add_subdirectory(gencrc) -get_built_tool_path( - TOOL_gencrc_bin - TOOL_gencrc_dependency - library/cpp/digest/old_crc/gencrc - gencrc -) add_library(cpp-digest-old_crc) target_link_libraries(cpp-digest-old_crc PUBLIC @@ -27,14 +20,9 @@ add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/crc.inc DEPENDS - ${TOOL_gencrc_bin} + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc.exe COMMAND - ${TOOL_gencrc_bin} + ${CMAKE_BINARY_DIR}/library/cpp/digest/old_crc/gencrc/gencrc.exe > crc.inc ) -if(NOT CMAKE_CROSSCOMPILING) - add_dependencies(cpp-digest-old_crc - gencrc -) -endif() diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin-x86_64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin-x86_64.txt deleted file mode 100644 index 64e8d803e5..0000000000 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.darwin-x86_64.txt +++ /dev/null @@ -1,27 +0,0 @@ - -# 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_executable(gencrc) -target_link_libraries(gencrc PUBLIC - contrib-libs-cxxsupp - yutil - library-cpp-cpuid_check -) -target_link_options(gencrc PRIVATE - -Wl,-platform_version,macos,11.0,11.0 - -fPIC - -fPIC -) -target_sources(gencrc PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp -) -target_allocator(gencrc - system_allocator -) -vcs_info(gencrc) diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt deleted file mode 100644 index f4a3176047..0000000000 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-aarch64.txt +++ /dev/null @@ -1,32 +0,0 @@ - -# 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_executable(gencrc) -target_link_libraries(gencrc PUBLIC - contrib-libs-linux-headers - contrib-libs-cxxsupp - yutil -) -target_link_options(gencrc PRIVATE - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) -target_sources(gencrc PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp -) -target_allocator(gencrc - cpp-malloc-jemalloc -) -vcs_info(gencrc) diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-x86_64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-x86_64.txt deleted file mode 100644 index 33bcd9c559..0000000000 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.linux-x86_64.txt +++ /dev/null @@ -1,34 +0,0 @@ - -# 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_executable(gencrc) -target_link_libraries(gencrc PUBLIC - contrib-libs-linux-headers - contrib-libs-cxxsupp - yutil - library-cpp-cpuid_check -) -target_link_options(gencrc PRIVATE - -ldl - -lrt - -Wl,--no-as-needed - -fPIC - -fPIC - -lpthread - -lrt - -ldl -) -target_sources(gencrc PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp -) -target_allocator(gencrc - cpp-malloc-tcmalloc - libs-tcmalloc-no_percpu_cache -) -vcs_info(gencrc) diff --git a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.txt deleted file mode 100644 index f8b31df0c1..0000000000 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.txt +++ /dev/null @@ -1,17 +0,0 @@ - -# 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/library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt b/library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt deleted file mode 100644 index b2bfec2ccb..0000000000 --- a/library/cpp/digest/old_crc/gencrc/CMakeLists.windows-x86_64.txt +++ /dev/null @@ -1,22 +0,0 @@ - -# 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_executable(gencrc) -target_link_libraries(gencrc PUBLIC - contrib-libs-cxxsupp - yutil - library-cpp-cpuid_check -) -target_sources(gencrc PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/digest/old_crc/gencrc/main.cpp -) -target_allocator(gencrc - system_allocator -) -vcs_info(gencrc) |