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

Consider switching to using git submodules instead of manually checking out repos #10

Closed
dylanede opened this issue Sep 30, 2017 · 2 comments

Comments

@dylanede
Copy link
Contributor

This would make managing the dependencies on other repositories much more straightforward and less error prone. For example, at the moment a clean build will work, but if you try to build again after that it will fail, since the git pull commands fail due to the checked out repos not being on a branch (instead they are pinned to a commit). With git submodules you can remove all of the git related code from the build script.

@dylanede
Copy link
Contributor Author

In the short term, fixing the current problem with git pull can be done by using git fetch instead.

@antiagainst
Copy link
Collaborator

Thanks for the suggestion! It's done in #13.

shaderc requires a certain directory hierarchy for its dependencies. Right now shaderc itself does not manage its dependencies as Git submodules. To use Git submodule here, we need to register nested submodules (in shaderc-rs), which I don't think Git supports right now. So I created an umbrella CMakeLists.txt to include all projects.

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

No branches or pull requests

2 participants