Skip to content

Commit

Permalink
disable aiplatform on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Jun 19, 2023
1 parent c1c8612 commit 621e4fd
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 2 additions & 0 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ source:
# https://github.com/googleapis/google-cloud-cpp/issues/8145
# https://github.com/googleapis/google-cloud-cpp/issues/8785
- patches/0001-disable-libraries.patch # [libprotobuf == "3.21"]
# disable a large new feature in 2.12 due to running into 6h timeout
- patches/0002-disable-aiplatform-feature.patch # [win]

build:
number: 0
Expand Down
4 changes: 2 additions & 2 deletions recipe/patches/0001-disable-libraries.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
From 0012bc6ca9f1b3d3d4023ce763afb5f9a8057dd6 Mon Sep 17 00:00:00 2001
From 06db3d22c2a6466d690cbc05596627c763e3405e Mon Sep 17 00:00:00 2001
From: Carlos O'Ryan <[email protected]>
Date: Tue, 7 Feb 2023 01:35:26 +0000
Subject: [PATCH] disable libraries
Subject: [PATCH 1/2] disable libraries

---
cmake/GoogleCloudCppFeatures.cmake | 6 +++---
Expand Down
22 changes: 22 additions & 0 deletions recipe/patches/0002-disable-aiplatform-feature.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From 2afb8fb75983511f812939dc3ba2ca32460034fb Mon Sep 17 00:00:00 2001
From: "H. Vetinari" <[email protected]>
Date: Mon, 19 Jun 2023 07:59:29 +1100
Subject: [PATCH 2/2] disable aiplatform feature

---
cmake/GoogleCloudCppFeatures.cmake | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/GoogleCloudCppFeatures.cmake b/cmake/GoogleCloudCppFeatures.cmake
index c42e3bf4a0..d3b4072f53 100644
--- a/cmake/GoogleCloudCppFeatures.cmake
+++ b/cmake/GoogleCloudCppFeatures.cmake
@@ -38,7 +38,7 @@ set(GOOGLE_CLOUD_CPP_GA_LIBRARIES
"accessapproval"
"accesscontextmanager"
"advisorynotifications"
- "aiplatform"
+ # "aiplatform" -- disabled on windows due to running into timeout limits & new in 2.12
"alloydb"
"apigateway"
"apigeeconnect"

0 comments on commit 621e4fd

Please sign in to comment.