Browse Source

Make OSS build happy

dcherednik 1 year ago
parent
commit
445cbed2c8

+ 1 - 1
library/cpp/actors/cppcoro/CMakeLists.darwin-x86_64.txt

@@ -6,7 +6,7 @@
 # original buildsystem will not be accepted.
 
 
-add_subdirectory(benchmark)
+add_subdirectory(corobenchmark)
 add_subdirectory(ut)
 
 add_library(cpp-actors-cppcoro)

+ 1 - 1
library/cpp/actors/cppcoro/CMakeLists.linux-aarch64.txt

@@ -6,7 +6,7 @@
 # original buildsystem will not be accepted.
 
 
-add_subdirectory(benchmark)
+add_subdirectory(corobenchmark)
 add_subdirectory(ut)
 
 add_library(cpp-actors-cppcoro)

+ 1 - 1
library/cpp/actors/cppcoro/CMakeLists.linux-x86_64.txt

@@ -6,7 +6,7 @@
 # original buildsystem will not be accepted.
 
 
-add_subdirectory(benchmark)
+add_subdirectory(corobenchmark)
 add_subdirectory(ut)
 
 add_library(cpp-actors-cppcoro)

+ 1 - 1
library/cpp/actors/cppcoro/CMakeLists.windows-x86_64.txt

@@ -6,7 +6,7 @@
 # original buildsystem will not be accepted.
 
 
-add_subdirectory(benchmark)
+add_subdirectory(corobenchmark)
 add_subdirectory(ut)
 
 add_library(cpp-actors-cppcoro)

+ 7 - 7
library/cpp/actors/cppcoro/benchmark/CMakeLists.darwin-x86_64.txt → library/cpp/actors/cppcoro/corobenchmark/CMakeLists.darwin-x86_64.txt

@@ -7,25 +7,25 @@
 
 
 
-add_executable(benchmark)
-target_link_libraries(benchmark PUBLIC
+add_executable(corobenchmark)
+target_link_libraries(corobenchmark PUBLIC
   contrib-libs-cxxsupp
   yutil
   library-cpp-cpuid_check
   testing-benchmark-main
   cpp-actors-cppcoro
 )
-target_link_options(benchmark PRIVATE
+target_link_options(corobenchmark PRIVATE
   -Wl,-platform_version,macos,11.0,11.0
   -fPIC
   -fPIC
   -framework
   CoreFoundation
 )
-target_sources(benchmark PRIVATE
-  ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/benchmark/main.cpp
+target_sources(corobenchmark PRIVATE
+  ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/corobenchmark/main.cpp
 )
-target_allocator(benchmark
+target_allocator(corobenchmark
   system_allocator
 )
-vcs_info(benchmark)
+vcs_info(corobenchmark)

+ 7 - 7
library/cpp/actors/cppcoro/benchmark/CMakeLists.linux-aarch64.txt → library/cpp/actors/cppcoro/corobenchmark/CMakeLists.linux-aarch64.txt

@@ -7,15 +7,15 @@
 
 
 
-add_executable(benchmark)
-target_link_libraries(benchmark PUBLIC
+add_executable(corobenchmark)
+target_link_libraries(corobenchmark PUBLIC
   contrib-libs-linux-headers
   contrib-libs-cxxsupp
   yutil
   testing-benchmark-main
   cpp-actors-cppcoro
 )
-target_link_options(benchmark PRIVATE
+target_link_options(corobenchmark PRIVATE
   -ldl
   -lrt
   -Wl,--no-as-needed
@@ -25,10 +25,10 @@ target_link_options(benchmark PRIVATE
   -lrt
   -ldl
 )
-target_sources(benchmark PRIVATE
-  ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/benchmark/main.cpp
+target_sources(corobenchmark PRIVATE
+  ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/corobenchmark/main.cpp
 )
-target_allocator(benchmark
+target_allocator(corobenchmark
   cpp-malloc-jemalloc
 )
-vcs_info(benchmark)
+vcs_info(corobenchmark)

+ 7 - 7
library/cpp/actors/cppcoro/benchmark/CMakeLists.linux-x86_64.txt → library/cpp/actors/cppcoro/corobenchmark/CMakeLists.linux-x86_64.txt

@@ -7,8 +7,8 @@
 
 
 
-add_executable(benchmark)
-target_link_libraries(benchmark PUBLIC
+add_executable(corobenchmark)
+target_link_libraries(corobenchmark PUBLIC
   contrib-libs-linux-headers
   contrib-libs-cxxsupp
   yutil
@@ -16,7 +16,7 @@ target_link_libraries(benchmark PUBLIC
   testing-benchmark-main
   cpp-actors-cppcoro
 )
-target_link_options(benchmark PRIVATE
+target_link_options(corobenchmark PRIVATE
   -ldl
   -lrt
   -Wl,--no-as-needed
@@ -26,11 +26,11 @@ target_link_options(benchmark PRIVATE
   -lrt
   -ldl
 )
-target_sources(benchmark PRIVATE
-  ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/benchmark/main.cpp
+target_sources(corobenchmark PRIVATE
+  ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/corobenchmark/main.cpp
 )
-target_allocator(benchmark
+target_allocator(corobenchmark
   cpp-malloc-tcmalloc
   libs-tcmalloc-no_percpu_cache
 )
-vcs_info(benchmark)
+vcs_info(corobenchmark)

+ 0 - 0
library/cpp/actors/cppcoro/benchmark/CMakeLists.txt → library/cpp/actors/cppcoro/corobenchmark/CMakeLists.txt


+ 6 - 6
library/cpp/actors/cppcoro/benchmark/CMakeLists.windows-x86_64.txt → library/cpp/actors/cppcoro/corobenchmark/CMakeLists.windows-x86_64.txt

@@ -7,18 +7,18 @@
 
 
 
-add_executable(benchmark)
-target_link_libraries(benchmark PUBLIC
+add_executable(corobenchmark)
+target_link_libraries(corobenchmark PUBLIC
   contrib-libs-cxxsupp
   yutil
   library-cpp-cpuid_check
   testing-benchmark-main
   cpp-actors-cppcoro
 )
-target_sources(benchmark PRIVATE
-  ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/benchmark/main.cpp
+target_sources(corobenchmark PRIVATE
+  ${CMAKE_SOURCE_DIR}/library/cpp/actors/cppcoro/corobenchmark/main.cpp
 )
-target_allocator(benchmark
+target_allocator(corobenchmark
   system_allocator
 )
-vcs_info(benchmark)
+vcs_info(corobenchmark)

+ 0 - 0
library/cpp/actors/cppcoro/benchmark/main.cpp → library/cpp/actors/cppcoro/corobenchmark/main.cpp


Some files were not shown because too many files changed in this diff