-
Notifications
You must be signed in to change notification settings - Fork 277
Cannot checkout Boost from subrepo #374
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
Comments
You should use |
Could it be possible to have a new command that makes this easier, or more expressive? |
@zyrsha there is a difference that the regular checkout doesn't update anything in the repo, it just changes the working copy. For git-subrepo case, switching branch will actually create a new commit in your parent directory. |
There is some discussion in #336 regarding the checkout, so if you got this issue working, we can track the checkout there. |
After cloning a Boost branch with subrepo, it fails to bootstrap and all the sources are missing. |
There are a lot of issues on using submodules with subrepo (#262), our main approach right now is that if you want to use submodules or subrepos, you are best of using the in the entire structure. git-subrepo tries hard to be transparent but that causes problem with submodules as they want to know where in the structure they are. |
I see. This makes a genuine concern for Boost. That one is actually rare, it has to do with their efforts to modularize Boost in order to reduce the heaviness of the library dependency. Perhaps the issue can be kept open in case any solutions can be found in the future. |
As a workaround you could download Boost as a binary and unpack it as a part of your build steps. Unless of course you plan to actually change things inside Boost. |
According to the Boost Getting-Started document, we should setup Boost by doing this:
When attempting to do so:
How can this be resolved?
The text was updated successfully, but these errors were encountered: