Skip to content
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

Update googletest & gulrak (filesystem) #3800

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

seando-adsk
Copy link
Collaborator

  • Set C++ version when building googletest and use shallow clone (no history is needed).
  • Update gulrak version from 1.5.6 to 1.5.14.
  • Remove unneeded filesystem include.

* Set C++ version when building googletest and use shallow
  clone (no history is needed).
* Update gulrak version from 1.5.6 to 1.5.14.
* Remove unneeded filesystem include.
@seando-adsk seando-adsk added the build Related to building maya-usd repository label May 31, 2024
@seando-adsk seando-adsk self-assigned this May 31, 2024
@@ -14,6 +14,7 @@ ExternalProject_Add(googletest
GIT_REPOSITORY https://github.com/google/googletest.git
GIT_TAG release-1.10.0
GIT_CONFIG advice.detachedHead=false
GIT_SHALLOW TRUE
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will skip the history which makes the download much smaller.

USES_TERMINAL_DOWNLOAD TRUE
GIT_CONFIG advice.detachedHead=false
gulrak
URL https://github.com/gulrak/filesystem/archive/refs/tags/v1.5.14.zip
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The previous version was 1.5.6 (which is what that git commit pointed to) which seems like a big jump to 1.5.14, but its not that really. There weren't all the dot releases in between. https://github.com/gulrak/filesystem/releases

I also changed it so that it just downloads the release zip file instead of cloning the github repo.

@@ -59,8 +59,6 @@
#include <maya/MStatus.h>
#include <maya/MTime.h>

#include <ghc/filesystem.hpp>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All these files aren't using filesystem, so removed the header.

@seando-adsk seando-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Jun 3, 2024
@seando-adsk seando-adsk merged commit 3c91522 into dev Jun 3, 2024
11 checks passed
@seando-adsk seando-adsk deleted the donnels/cleanup_test_and_gulrak branch June 3, 2024 17:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Related to building maya-usd repository ready-for-merge Development process is finished, PR is ready for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants