Skip to content

Conversation

@teo-tsirpanis
Copy link
Member

SC-50499

GitHub Action's recent rollout of CMake 3.30 has broken building the google-cloud-cpp port, because it cannot find the GTest::gmock_main target (which is otherwise unused for the mainstream building scenario).

This PR patches the port to remove the target_link_libraries command that links to GMock. Subsequent versions of the Google Cloud client library have added an official option to disable building the mock libraries, and microsoft/vcpkg#39802 has been opened to specify the option in the upstream port.


TYPE: NO_HISTORY

@teo-tsirpanis
Copy link
Member Author

No GCS CI jobs happened to use CMake 3.30, but I have validated it locally.

@teo-tsirpanis teo-tsirpanis marked this pull request as ready for review July 9, 2024 11:26
@teo-tsirpanis teo-tsirpanis requested a review from KiterLuc July 9, 2024 11:26
@KiterLuc KiterLuc merged commit 4c76857 into dev Jul 9, 2024
@KiterLuc KiterLuc deleted the teo/gcs-sdk-patch branch July 9, 2024 12:49
KiterLuc pushed a commit that referenced this pull request Jul 9, 2024
[SC-50499](https://app.shortcut.com/tiledb-inc/story/50499/ci-s-updating-of-cmake-3-30-broke-building-the-gcs-port)

GitHub Action's recent rollout of CMake 3.30 has broken building the
`google-cloud-cpp` port, because it cannot find the `GTest::gmock_main`
target (which is otherwise unused for the mainstream building scenario).

This PR patches the port to remove the `target_link_libraries` command
that links to GMock. Subsequent versions of the Google Cloud client
library have added an official option to disable building the mock
libraries, and microsoft/vcpkg#39802 has been opened to specify the
option in the upstream port.

---
TYPE: NO_HISTORY

(cherry picked from commit 4c76857)
KiterLuc pushed a commit that referenced this pull request Jul 9, 2024
[SC-50499](https://app.shortcut.com/tiledb-inc/story/50499/ci-s-updating-of-cmake-3-30-broke-building-the-gcs-port)

GitHub Action's recent rollout of CMake 3.30 has broken building the
`google-cloud-cpp` port, because it cannot find the `GTest::gmock_main`
target (which is otherwise unused for the mainstream building scenario).

This PR patches the port to remove the `target_link_libraries` command
that links to GMock. Subsequent versions of the Google Cloud client
library have added an official option to disable building the mock
libraries, and microsoft/vcpkg#39802 has been opened to specify the
option in the upstream port.

---
TYPE: NO_HISTORY

(cherry picked from commit 4c76857)
KiterLuc added a commit that referenced this pull request Jul 9, 2024
…e 3.30. (#5167) (#5171)

Backport 4c76857 from #5167.

---
TYPE: NO_HISTORY

Co-authored-by: Theodore Tsirpanis <[email protected]>
KiterLuc added a commit that referenced this pull request Jul 11, 2024
…e 3.30. (#5167) (#5172)

Backport 4c76857 from #5167.

---
TYPE: NO_HISTORY

Co-authored-by: Theodore Tsirpanis <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants