aboutsummaryrefslogtreecommitdiff
path: root/ports/google-cloud-cpp/disable-benchmarks.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ports/google-cloud-cpp/disable-benchmarks.patch')
-rw-r--r--ports/google-cloud-cpp/disable-benchmarks.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/ports/google-cloud-cpp/disable-benchmarks.patch b/ports/google-cloud-cpp/disable-benchmarks.patch
new file mode 100644
index 000000000..966cb1733
--- /dev/null
+++ b/ports/google-cloud-cpp/disable-benchmarks.patch
@@ -0,0 +1,43 @@
+diff --git a/generator/CMakeLists.txt b/generator/CMakeLists.txt
+index d68ae2a..99ec4c2 100644
+--- a/generator/CMakeLists.txt
++++ b/generator/CMakeLists.txt
+@@ -150,7 +150,7 @@ function (google_cloud_cpp_generator_define_tests)
+ endforeach ()
+ endfunction ()
+
+-add_subdirectory(integration_tests)
++# add_subdirectory(integration_tests)
+
+ # Only define the tests if testing is enabled. Package maintainers may not want
+ # to build all the tests everytime they create a new package or when the package
+diff --git a/google/cloud/CMakeLists.txt b/google/cloud/CMakeLists.txt
+index 09a4b58..9c85374 100644
+--- a/google/cloud/CMakeLists.txt
++++ b/google/cloud/CMakeLists.txt
+@@ -548,5 +548,5 @@ if (GOOGLE_CLOUD_CPP_ENABLE_GRPC)
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/google_cloud_cpp_grpc_utils"
+ COMPONENT google_cloud_cpp_development)
+
+- add_subdirectory(samples)
++ #add_subdirectory(samples)
+ endif ()
+diff --git a/google/cloud/bigtable/CMakeLists.txt b/google/cloud/bigtable/CMakeLists.txt
+index 399c84f..d58c910 100644
+--- a/google/cloud/bigtable/CMakeLists.txt
++++ b/google/cloud/bigtable/CMakeLists.txt
+@@ -323,12 +323,12 @@ if (BUILD_TESTING)
+ add_subdirectory(tests)
+ endif ()
+
+-add_subdirectory(benchmarks)
++# add_subdirectory(benchmarks)
+
+ if (GOOGLE_CLOUD_CPP_ENABLE_CXX_EXCEPTIONS)
+ # The examples are more readable if we use exceptions for error handling. We
+ # had to tradeoff readability vs. "making them compile everywhere".
+- add_subdirectory(examples)
++ #add_subdirectory(examples)
+ endif (GOOGLE_CLOUD_CPP_ENABLE_CXX_EXCEPTIONS)
+
+ # Export the CMake targets to make it easy to create configuration files.