-
Notifications
You must be signed in to change notification settings - Fork 0
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
YCM bootstrap script does not honor YCM_TAG for on-system lookup #55
Comments
Alternatively, consume YCM as a hard dependency in non-superbuild repos, i.e. put Regarding other hard dependencies, see #54. |
Just debating available options, I'm not fully convinced about this:
Alternatively, improve this behavior upstream. |
Reminder: |
As spoken with @jgvictores, green lights for YCM as hard dependency. Main reason is maintainability and future enhancements of our CMake code (for the record, current hacks are blocking my progress on roboticslab-uc3m/color-debug#11). Please poke me if I forget to make the announcement! |
I'm going to apply cron jobs to latest YCM devel branch and usual push jobs to the master one, as similarly done with YARP: #17, roboticslab-uc3m/kinematics-dynamics@8dc8928. |
Since orchestrated projects will now consume YCM as a hard dependency, and therefore the relevant YCM version will be requested from their root CMakeLists.txt, there is no need to care for a sensible minimum YCM version at the root CMakeLists.txt of superbuild projects. That is, the |
I think this issue has been now completed. Only leftovers (occurrences of
In addition, several repositories that previously hosted a AddUninstallTarget.cmake file now require YCM as a hard dependency, too. Leftovers:
BTW perhaps it's time to think about a monologue label! |
It turns out that YCM 0.8 (unreleased at the time of writing) takes care of the initial problem, that is, requesting a minimum required on-system YCM version that, if not found, proceeds to the bootstrap process: robotology/robotology-superbuild#21, robotology/ycm-cmake-modules#140 (the variable is |
I'm prone to apply the |
We usually have something like this at root CMakeLists.txt:
YCM is not bootstrapped (and, consequently, cloned from its remote GH repo) when found on system. However, it isn't either when the version found on system is prior to the one requested by the project's CMake configuration, e.g. we installed YCM 0.2.2 (and forgot to upgrade!),
YCMBootstrap
finds it and skips the clone step.Ideally, CMake should be smart enough to dismiss on-system YCM if the
YCM_TAG
requirement is not satisfied, and tellYCMBootstrap
to proceed as if no YCM was installed at all. Proposed workaround:The text was updated successfully, but these errors were encountered: