aboutsummaryrefslogtreecommitdiff
path: root/ports/google-cloud-cpp/disable-benchmarks.patch
diff options
context:
space:
mode:
authorras0219 <533828+ras0219@users.noreply.github.com>2021-03-26 12:55:34 -0700
committerGitHub <noreply@github.com>2021-03-26 12:55:34 -0700
commitb5bb1511f0a07be530e0bde3ae098eb3d8e83e68 (patch)
tree62f7ed43202e512d28ac92fb2be768283f62dee9 /ports/google-cloud-cpp/disable-benchmarks.patch
parent6a63ecae92e3eb26ae596e5c4ddf527f045803a4 (diff)
downloadvcpkg-b5bb1511f0a07be530e0bde3ae098eb3d8e83e68.tar.gz
vcpkg-b5bb1511f0a07be530e0bde3ae098eb3d8e83e68.zip
[many ports] Apply host dependencies (#16479)
* [vcpkg] Add VCPKG_HOST_TRIPLET. Improve vcpkg.schema.json * [many ports] Apply host dependencies * [yasm-tool] Revert yasm-tool changes to split into PR #16478 * [many ports] Add versions * [vcpkg.cmake] Revert change applied in other PR * [boost-modular-build-helper] Merge from master Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
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.