Skip to content

[Refactor:Developer] Pull deps from archives instead of git - #19

Open
williamjallen wants to merge 1 commit into
mainfrom
archives-instead-of-repos
Open

williamjallen wants to merge 1 commit into
mainfrom
archives-instead-of-repos

Conversation

@williamjallen

Copy link
Copy Markdown
Member

#18 changed our CMake config to pull full repositories instead of shallow clones, since CMake can't create shallow clones with single arbitrary commits. Pulling full repositories is expensive--several minutes for some of our dependencies. This PR updates the CMake logic to pull from archives of specific commit hashes instead. In local development, this resulted in an improvement from ~160 seconds to ~5 seconds for an install.

#18 changed our CMake config to pull full repositories instead of shallow clones, since CMake can't create shallow clones with single arbitrary commits.  Pulling full repositories is expensive--several minutes for some of our dependencies.  This PR updates the CMake logic to pull from archives of specific commit hashes instead.  In local development, this resulted in an improvement from ~160 seconds to ~5 seconds for an install.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant