diff options
| author | thegeorg <[email protected]> | 2022-12-15 19:25:15 +0300 | 
|---|---|---|
| committer | thegeorg <[email protected]> | 2022-12-15 19:25:15 +0300 | 
| commit | 0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch) | |
| tree | 4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/streams | |
| parent | d1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff) | |
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/streams')
20 files changed, 315 insertions, 50 deletions
diff --git a/library/cpp/streams/brotli/CMakeLists.darwin.txt b/library/cpp/streams/brotli/CMakeLists.darwin.txt new file mode 100644 index 00000000000..cede8674f98 --- /dev/null +++ b/library/cpp/streams/brotli/CMakeLists.darwin.txt @@ -0,0 +1,19 @@ + +# 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(cpp-streams-brotli) +target_link_libraries(cpp-streams-brotli PUBLIC +  contrib-libs-cxxsupp +  yutil +  libs-brotli-enc +  libs-brotli-dec +) +target_sources(cpp-streams-brotli PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/brotli/brotli.cpp +) diff --git a/library/cpp/streams/brotli/CMakeLists.linux-aarch64.txt b/library/cpp/streams/brotli/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..819009f787d --- /dev/null +++ b/library/cpp/streams/brotli/CMakeLists.linux-aarch64.txt @@ -0,0 +1,20 @@ + +# 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(cpp-streams-brotli) +target_link_libraries(cpp-streams-brotli PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  libs-brotli-enc +  libs-brotli-dec +) +target_sources(cpp-streams-brotli PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/brotli/brotli.cpp +) diff --git a/library/cpp/streams/brotli/CMakeLists.linux.txt b/library/cpp/streams/brotli/CMakeLists.linux.txt new file mode 100644 index 00000000000..819009f787d --- /dev/null +++ b/library/cpp/streams/brotli/CMakeLists.linux.txt @@ -0,0 +1,20 @@ + +# 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(cpp-streams-brotli) +target_link_libraries(cpp-streams-brotli PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  libs-brotli-enc +  libs-brotli-dec +) +target_sources(cpp-streams-brotli PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/brotli/brotli.cpp +) diff --git a/library/cpp/streams/brotli/CMakeLists.txt b/library/cpp/streams/brotli/CMakeLists.txt index cede8674f98..3e0811fb22e 100644 --- a/library/cpp/streams/brotli/CMakeLists.txt +++ b/library/cpp/streams/brotli/CMakeLists.txt @@ -6,14 +6,10 @@  # original buildsystem will not be accepted. - -add_library(cpp-streams-brotli) -target_link_libraries(cpp-streams-brotli PUBLIC -  contrib-libs-cxxsupp -  yutil -  libs-brotli-enc -  libs-brotli-dec -) -target_sources(cpp-streams-brotli PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/streams/brotli/brotli.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) +  include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) +  include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) +  include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/streams/bzip2/CMakeLists.darwin.txt b/library/cpp/streams/bzip2/CMakeLists.darwin.txt new file mode 100644 index 00000000000..ff65800e02d --- /dev/null +++ b/library/cpp/streams/bzip2/CMakeLists.darwin.txt @@ -0,0 +1,18 @@ + +# 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(cpp-streams-bzip2) +target_link_libraries(cpp-streams-bzip2 PUBLIC +  contrib-libs-cxxsupp +  yutil +  contrib-libs-libbz2 +) +target_sources(cpp-streams-bzip2 PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/bzip2/bzip2.cpp +) diff --git a/library/cpp/streams/bzip2/CMakeLists.linux-aarch64.txt b/library/cpp/streams/bzip2/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..3ecb64fe871 --- /dev/null +++ b/library/cpp/streams/bzip2/CMakeLists.linux-aarch64.txt @@ -0,0 +1,19 @@ + +# 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(cpp-streams-bzip2) +target_link_libraries(cpp-streams-bzip2 PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-libbz2 +) +target_sources(cpp-streams-bzip2 PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/bzip2/bzip2.cpp +) diff --git a/library/cpp/streams/bzip2/CMakeLists.linux.txt b/library/cpp/streams/bzip2/CMakeLists.linux.txt new file mode 100644 index 00000000000..3ecb64fe871 --- /dev/null +++ b/library/cpp/streams/bzip2/CMakeLists.linux.txt @@ -0,0 +1,19 @@ + +# 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(cpp-streams-bzip2) +target_link_libraries(cpp-streams-bzip2 PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-libbz2 +) +target_sources(cpp-streams-bzip2 PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/bzip2/bzip2.cpp +) diff --git a/library/cpp/streams/bzip2/CMakeLists.txt b/library/cpp/streams/bzip2/CMakeLists.txt index ff65800e02d..3e0811fb22e 100644 --- a/library/cpp/streams/bzip2/CMakeLists.txt +++ b/library/cpp/streams/bzip2/CMakeLists.txt @@ -6,13 +6,10 @@  # original buildsystem will not be accepted. - -add_library(cpp-streams-bzip2) -target_link_libraries(cpp-streams-bzip2 PUBLIC -  contrib-libs-cxxsupp -  yutil -  contrib-libs-libbz2 -) -target_sources(cpp-streams-bzip2 PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/streams/bzip2/bzip2.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) +  include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) +  include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) +  include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/streams/lzma/CMakeLists.darwin.txt b/library/cpp/streams/lzma/CMakeLists.darwin.txt new file mode 100644 index 00000000000..ad637c4c499 --- /dev/null +++ b/library/cpp/streams/lzma/CMakeLists.darwin.txt @@ -0,0 +1,18 @@ + +# 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(cpp-streams-lzma) +target_link_libraries(cpp-streams-lzma PUBLIC +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lzmasdk +) +target_sources(cpp-streams-lzma PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/lzma/lzma.cpp +) diff --git a/library/cpp/streams/lzma/CMakeLists.linux-aarch64.txt b/library/cpp/streams/lzma/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..ca79fb0dd98 --- /dev/null +++ b/library/cpp/streams/lzma/CMakeLists.linux-aarch64.txt @@ -0,0 +1,19 @@ + +# 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(cpp-streams-lzma) +target_link_libraries(cpp-streams-lzma PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lzmasdk +) +target_sources(cpp-streams-lzma PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/lzma/lzma.cpp +) diff --git a/library/cpp/streams/lzma/CMakeLists.linux.txt b/library/cpp/streams/lzma/CMakeLists.linux.txt new file mode 100644 index 00000000000..ca79fb0dd98 --- /dev/null +++ b/library/cpp/streams/lzma/CMakeLists.linux.txt @@ -0,0 +1,19 @@ + +# 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(cpp-streams-lzma) +target_link_libraries(cpp-streams-lzma PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-lzmasdk +) +target_sources(cpp-streams-lzma PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/lzma/lzma.cpp +) diff --git a/library/cpp/streams/lzma/CMakeLists.txt b/library/cpp/streams/lzma/CMakeLists.txt index ad637c4c499..3e0811fb22e 100644 --- a/library/cpp/streams/lzma/CMakeLists.txt +++ b/library/cpp/streams/lzma/CMakeLists.txt @@ -6,13 +6,10 @@  # original buildsystem will not be accepted. - -add_library(cpp-streams-lzma) -target_link_libraries(cpp-streams-lzma PUBLIC -  contrib-libs-cxxsupp -  yutil -  contrib-libs-lzmasdk -) -target_sources(cpp-streams-lzma PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/streams/lzma/lzma.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) +  include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) +  include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) +  include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/streams/zc_memory_input/CMakeLists.darwin.txt b/library/cpp/streams/zc_memory_input/CMakeLists.darwin.txt new file mode 100644 index 00000000000..deaf51d0b20 --- /dev/null +++ b/library/cpp/streams/zc_memory_input/CMakeLists.darwin.txt @@ -0,0 +1,17 @@ + +# 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(cpp-streams-zc_memory_input) +target_link_libraries(cpp-streams-zc_memory_input PUBLIC +  contrib-libs-cxxsupp +  yutil +) +target_sources(cpp-streams-zc_memory_input PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/zc_memory_input/zc_memory_input.cpp +) diff --git a/library/cpp/streams/zc_memory_input/CMakeLists.linux-aarch64.txt b/library/cpp/streams/zc_memory_input/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..b7ef4315969 --- /dev/null +++ b/library/cpp/streams/zc_memory_input/CMakeLists.linux-aarch64.txt @@ -0,0 +1,18 @@ + +# 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(cpp-streams-zc_memory_input) +target_link_libraries(cpp-streams-zc_memory_input PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +) +target_sources(cpp-streams-zc_memory_input PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/zc_memory_input/zc_memory_input.cpp +) diff --git a/library/cpp/streams/zc_memory_input/CMakeLists.linux.txt b/library/cpp/streams/zc_memory_input/CMakeLists.linux.txt new file mode 100644 index 00000000000..b7ef4315969 --- /dev/null +++ b/library/cpp/streams/zc_memory_input/CMakeLists.linux.txt @@ -0,0 +1,18 @@ + +# 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(cpp-streams-zc_memory_input) +target_link_libraries(cpp-streams-zc_memory_input PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +) +target_sources(cpp-streams-zc_memory_input PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/zc_memory_input/zc_memory_input.cpp +) diff --git a/library/cpp/streams/zc_memory_input/CMakeLists.txt b/library/cpp/streams/zc_memory_input/CMakeLists.txt index deaf51d0b20..3e0811fb22e 100644 --- a/library/cpp/streams/zc_memory_input/CMakeLists.txt +++ b/library/cpp/streams/zc_memory_input/CMakeLists.txt @@ -6,12 +6,10 @@  # original buildsystem will not be accepted. - -add_library(cpp-streams-zc_memory_input) -target_link_libraries(cpp-streams-zc_memory_input PUBLIC -  contrib-libs-cxxsupp -  yutil -) -target_sources(cpp-streams-zc_memory_input PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/streams/zc_memory_input/zc_memory_input.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) +  include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) +  include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) +  include(CMakeLists.linux.txt) +endif() diff --git a/library/cpp/streams/zstd/CMakeLists.darwin.txt b/library/cpp/streams/zstd/CMakeLists.darwin.txt new file mode 100644 index 00000000000..97734ca70fc --- /dev/null +++ b/library/cpp/streams/zstd/CMakeLists.darwin.txt @@ -0,0 +1,18 @@ + +# 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(cpp-streams-zstd) +target_link_libraries(cpp-streams-zstd PUBLIC +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd +) +target_sources(cpp-streams-zstd PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/zstd/zstd.cpp +) diff --git a/library/cpp/streams/zstd/CMakeLists.linux-aarch64.txt b/library/cpp/streams/zstd/CMakeLists.linux-aarch64.txt new file mode 100644 index 00000000000..787c5e54c71 --- /dev/null +++ b/library/cpp/streams/zstd/CMakeLists.linux-aarch64.txt @@ -0,0 +1,19 @@ + +# 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(cpp-streams-zstd) +target_link_libraries(cpp-streams-zstd PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd +) +target_sources(cpp-streams-zstd PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/zstd/zstd.cpp +) diff --git a/library/cpp/streams/zstd/CMakeLists.linux.txt b/library/cpp/streams/zstd/CMakeLists.linux.txt new file mode 100644 index 00000000000..787c5e54c71 --- /dev/null +++ b/library/cpp/streams/zstd/CMakeLists.linux.txt @@ -0,0 +1,19 @@ + +# 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(cpp-streams-zstd) +target_link_libraries(cpp-streams-zstd PUBLIC +  contrib-libs-linux-headers +  contrib-libs-cxxsupp +  yutil +  contrib-libs-zstd +) +target_sources(cpp-streams-zstd PRIVATE +  ${CMAKE_SOURCE_DIR}/library/cpp/streams/zstd/zstd.cpp +) diff --git a/library/cpp/streams/zstd/CMakeLists.txt b/library/cpp/streams/zstd/CMakeLists.txt index 97734ca70fc..3e0811fb22e 100644 --- a/library/cpp/streams/zstd/CMakeLists.txt +++ b/library/cpp/streams/zstd/CMakeLists.txt @@ -6,13 +6,10 @@  # original buildsystem will not be accepted. - -add_library(cpp-streams-zstd) -target_link_libraries(cpp-streams-zstd PUBLIC -  contrib-libs-cxxsupp -  yutil -  contrib-libs-zstd -) -target_sources(cpp-streams-zstd PRIVATE -  ${CMAKE_SOURCE_DIR}/library/cpp/streams/zstd/zstd.cpp -) +if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID) +  include(CMakeLists.linux-aarch64.txt) +elseif (APPLE) +  include(CMakeLists.darwin.txt) +elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID) +  include(CMakeLists.linux.txt) +endif()  | 
