Skip to content

googletest.cmake: remove GIT_SHALLOW when cloning #9712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

dconeybe
Copy link
Contributor

In #9705, the googletest dependency was changed from downloading a release version to cloning the git repository at a pinned commit from HEAD. To optimize this, the GIT_SHALLOW argument was specified to cmake's ExternalProject_Add() function. This caused the cloned repository to have a different head commit SHA and confused cmake. To fix this, I just removed the GIT_SHALLOW argument since the repository is pretty small and doing a deep clone is not that expensive.

#no-changelog

@dconeybe dconeybe merged commit 2e53f23 into master Apr 26, 2022
@dconeybe dconeybe deleted the dconeybe/FixGoogletestCmakeBuild branch April 26, 2022 20:15
paulb777 pushed a commit that referenced this pull request May 2, 2022
….0` (#9747)

* Fix build errors in Xcode 13.3.1 (#9705)
* googletest.cmake: remove GIT_SHALLOW when cloning (#9712)
Co-authored-by: Denver Coneybeare <[email protected]>
ncooke3 added a commit that referenced this pull request May 4, 2022
* Missing NSObject overrides and tests (#9715)

* Fix an issue with StorageUploadTask.resume accidentally using Download. (#9717) (#9718)

Co-authored-by: Jon Simantov <[email protected]>

* [v9] Improve clarity of zip integration instructions (#9720)

* [skip ci] Update zip README

* [skip ci] Update zip README (2)

* Fix Storage Pod-lib-lint failures on Xcode 13.3.1 (#9748)

* [v9] Cherry-pick Firestore build fix for Xcode 13.3.1 into `release-9.0` (#9747)

* Fix build errors in Xcode 13.3.1 (#9705)
* googletest.cmake: remove GIT_SHALLOW when cloning (#9712)
Co-authored-by: Denver Coneybeare <[email protected]>

* Bump SPM GTMSessionFetcher dep to 1.7.2 (#9753)

Co-authored-by: Paul Beusterien <[email protected]>
Co-authored-by: Jon Simantov <[email protected]>
@firebase firebase locked and limited conversation to collaborators May 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants