-
Notifications
You must be signed in to change notification settings - Fork 23
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
DEVEL_MODE is ignored in NON_INTERACTIVE_BUILD for packages that have an hyphen in the name #225
Comments
If the problem only appears in |
I reported only the error on |
|
Update the title to capture the latest updates. |
Looks like a YCM bug, should we move it to the YCM repo? |
Ok for me (even if probably it first make sense to try to get the superbuild to work with the latest YCM, so we can verify if this is a problem even in the latest YCM). |
I think that from if(NOT NON_INTERACTIVE_BUILD)
# Non interactive builds should always perform the update step
set_property(DIRECTORY PROPERTY EP_UPDATE_DISCONNECTED 1)
endif()
|
by the way, how does this work for repos that don't have a |
Perhaps it should be a if(NON_INTERACTIVE_BUILD AND YCM_EP_DEVEL_MODE_${_name})
message(SEND_ERROR "NON_INTERACTIVE_BUILD AND YCM_EP_DEVEL_MODE_${_name} cannot be used at the same time")
endif() |
…ODE_<project> are used together CC-Issue: #225
Added an error in 287f18d, feel free to reopen this issue if you thing it's not ok. |
@drdanz I've missed the notifications of this issue during this past day.
I agree, but there are edge cases where developers need it in CI, and this issue (if I recall) reported something similar. In fact, this is the case when CI builds a docker image. You might want to select a different branch for some of the projects contained in a superbuild, and in the same time you don't want to store credentials (even dummy ones as the workaround described above). Though, robotology-superbuild#100 introduced an alternative way to check out branches that plays really well with this edge use case. Due to this reason, I think that specifically for what I reported we can consider the problem solved. However I would not consider the two options as mutually exclusive. I do not really remember if the presence of the hypen in the name was just an hypothesis, we didn't dig more into this. Considering the clues, it was a possible explanation, but it was not really grounded. |
If I follow the steps:
NON_INTERACTIVE_BUILD
make update_all
devel
in some reposDEVEL_MODE
I obtain the following error:
It looks like the superbuild tries to operate on branches anyways.
For the time being, as temporary workaround I set some dummy local git credentials and then I remove them (my system is generic, during its generation does not know any information about the user that is going to use it, for this reason I use a non-interactive build). In this way, the rebase is performed successfully and
devel
get compiled as expected.The text was updated successfully, but these errors were encountered: