diff options
author | pg <pg@yandex-team.com> | 2023-08-06 01:09:56 +0300 |
---|---|---|
committer | pg <pg@yandex-team.com> | 2023-08-06 02:35:01 +0300 |
commit | 7f8be7d8fbde4c3cdef4cb31b3c6a94fef90753b (patch) | |
tree | 9a28af8c6094f08d31df7e9ba7023314875d83bc | |
parent | 932f5ad59355f7ec6e9dc9650d92b72fbb1700b4 (diff) | |
download | ydb-7f8be7d8fbde4c3cdef4cb31b3c6a94fef90753b.tar.gz |
5 files changed, 14 insertions, 0 deletions
diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-x86_64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-x86_64.txt index acaf2f9e8d..ec9a85c6a2 100644 --- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-x86_64.txt +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.darwin-x86_64.txt @@ -16,6 +16,9 @@ target_link_libraries(blockcodecs-codecs-lzma INTERFACE ) add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma) +target_compile_options(blockcodecs-codecs-lzma.global PRIVATE + -O3 +) target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC contrib-libs-cxxsupp yutil diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt index 0fee0bb18d..61824aedb1 100644 --- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-aarch64.txt @@ -17,6 +17,9 @@ target_link_libraries(blockcodecs-codecs-lzma INTERFACE ) add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma) +target_compile_options(blockcodecs-codecs-lzma.global PRIVATE + -O3 +) target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC contrib-libs-linux-headers contrib-libs-cxxsupp diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-x86_64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-x86_64.txt index 0fee0bb18d..61824aedb1 100644 --- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-x86_64.txt +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.linux-x86_64.txt @@ -17,6 +17,9 @@ target_link_libraries(blockcodecs-codecs-lzma INTERFACE ) add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma) +target_compile_options(blockcodecs-codecs-lzma.global PRIVATE + -O3 +) target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC contrib-libs-linux-headers contrib-libs-cxxsupp diff --git a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt index acaf2f9e8d..ec9a85c6a2 100644 --- a/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt +++ b/library/cpp/blockcodecs/codecs/lzma/CMakeLists.windows-x86_64.txt @@ -16,6 +16,9 @@ target_link_libraries(blockcodecs-codecs-lzma INTERFACE ) add_global_library_for(blockcodecs-codecs-lzma.global blockcodecs-codecs-lzma) +target_compile_options(blockcodecs-codecs-lzma.global PRIVATE + -O3 +) target_link_libraries(blockcodecs-codecs-lzma.global PUBLIC contrib-libs-cxxsupp yutil diff --git a/library/cpp/blockcodecs/codecs/lzma/ya.make b/library/cpp/blockcodecs/codecs/lzma/ya.make index 20db16c83d..2b7d535560 100644 --- a/library/cpp/blockcodecs/codecs/lzma/ya.make +++ b/library/cpp/blockcodecs/codecs/lzma/ya.make @@ -1,5 +1,7 @@ LIBRARY() +CFLAGS(-O3) + PEERDIR( contrib/libs/lzmasdk library/cpp/blockcodecs/core |