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

YCM 0.10 upgrade path #78

Closed
9 tasks done
PeterBowman opened this issue Feb 28, 2019 · 11 comments
Closed
9 tasks done

YCM 0.10 upgrade path #78

PeterBowman opened this issue Feb 28, 2019 · 11 comments

Comments

@PeterBowman
Copy link
Member

PeterBowman commented Feb 28, 2019

Currently in devel branch (release notes):

@PeterBowman
Copy link
Member Author

* I suspect this may break once YCM 0.10 is merged into master. The `CONFIGURE_SOURCE_DIR` might need to be replaced with `SOURCE_DIR`, not sure though.

It does break, indeed. The upstream CMake option should read SOURCE_SUBDIR. Reported at robotology/ycm-cmake-modules#210.

@PeterBowman
Copy link
Member Author

It does break, indeed.

My bad, got fooled by the way CMake treats local and cached variables. See robotology/ycm-cmake-modules#210 (comment) for context.

@PeterBowman
Copy link
Member Author

PeterBowman commented Mar 7, 2019

The ExternalProject module from CMake master was locally updated into cmake-next/proposed [...]

TODO: replace deprecated option (needs YCM 0.10) and apply workaround given at robotology/ycm-cmake-modules#212 (can/should? be done now).

@PeterBowman
Copy link
Member Author

The ExternalProject module from CMake master was locally updated into cmake-next/proposed, allegedly most customizations had been removed. We use the CONFIGURE_SOURCE_DIR option

TODO: replace deprecated option (needs YCM 0.10) and apply workaround given at robotology/ycm#212 (can/should? be done now).

No hurry, our current code will work fine thanks to the upstream workaround. This bullet boils down to replacing the will-be-deprecated option to ycm_ep_helper().

@PeterBowman
Copy link
Member Author

@PeterBowman PeterBowman self-assigned this Apr 1, 2019
PeterBowman added a commit to roboticslab-uc3m/asibot-main that referenced this issue Apr 1, 2019
PeterBowman added a commit to roboticslab-uc3m/kinematics-dynamics that referenced this issue Apr 3, 2019
@PeterBowman
Copy link
Member Author

YCM v0.10.1 was released today. We might have found another issue: robotology/ycm-cmake-modules#244.

@PeterBowman
Copy link
Member Author

We might have found another issue: robotology/ycm#244.

Fixed in current YCM master branch, scheduled for v0.10.2. This has fixed our superbuild Travis jobs, too.

PeterBowman added a commit to roboticslab-uc3m/asibot-main that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/teo-main that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/amor-main that referenced this issue Apr 18, 2019
PeterBowman added a commit to asrob-uc3m/robotDevastation-simulator that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/asibot-main that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/teo-main that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/amor-main that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/amor-main that referenced this issue Apr 18, 2019
PeterBowman added a commit to asrob-uc3m/robotDevastation-simulator that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/yarp-devices that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/tools that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/xgnitive that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/project-generator that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/asibot-hmi that referenced this issue Apr 18, 2019
PeterBowman added a commit to asrob-uc3m/robotDevastation-simulator that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/asibot-main that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/amor-main that referenced this issue Apr 18, 2019
PeterBowman added a commit to roboticslab-uc3m/teo-main that referenced this issue Apr 18, 2019
PeterBowman added a commit to asrob-uc3m/robotDevastation-simulator that referenced this issue Apr 18, 2019
@PeterBowman PeterBowman mentioned this issue Apr 19, 2019
3 tasks
@PeterBowman
Copy link
Member Author

The FetchContent module from CMake 3.11 will be imported via cmake-next. We might want to fetch googletest on configure time (already moved from embedded copy to apt package or on-system installation), see #41 (comment).

I can't think of a good solution, see #41 (comment). The FetchContent way is kinda close to YCM superbuilds, which I wanted to avoid. On the other hand, it gives total control of the googletest version requested, but we'd like to look for it on system first (the YCM-way) and fall back to the download step - this option involves a custom FindGTestSources script, again.

Nothing more to do here, closing.

PeterBowman added a commit to asrob-uc3m/yarp-devices that referenced this issue May 11, 2019
PeterBowman added a commit to roboticslab-uc3m/teo-configuration-files that referenced this issue May 13, 2019
PeterBowman added a commit to roboticslab-uc3m/amor-configuration-files that referenced this issue May 13, 2019
PeterBowman added a commit to roboticslab-uc3m/asibot-configuration-files that referenced this issue May 13, 2019
@PeterBowman
Copy link
Member Author

Drop install-related lines in superbuild-repos (ref): robotology/ycm#235 (experimental?).

Will be made relocatable, see robotology/ycm-cmake-modules#289.

@PeterBowman
Copy link
Member Author

The GIT_SHALLOW and GIT_PROGRESS were actually ignored since ycm_ep_helper never forwarded them to ExternalProject_Add. Support has been recently added for a SHALLOW option (robotology/ycm-cmake-modules#440), I'm going to use this instead.

@traversaro
Copy link

@PeterBowman if you need more arguments to be forwarded to ExternalProject feel free to suggest them!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants