-
Notifications
You must be signed in to change notification settings - Fork 330
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
Remove personal workspaces #329
Conversation
What would be the reasoning of this change ? |
I saw the comment, but the mentioned link was merged 2 years ago and is also now in version 3.4, see cherry-pick. In general, Tiziano and I thought it was much cleaner not to use private forks, which also makes it easier to update a dependency in the future. |
Please don't tell me that Eigen is re-using the same tag and adding changes of top of that 🤣 I do agree with not liking the manual forks, although in the Sophus case, I'm not convinced it's any better. The library stopped development of that version a while ago, and won't evolve. Adding a patch in our repo just to provide windows support seems contaminating. If it would be Linux I'd say it's ok. |
Update, no it's not included in 3.4 release. That's why I manually released a newer version. We DO need that change Just fetch the release and you will see it |
Yes it looks like it 🤣
I actually prefer the patch because it shows what has to be changed on top of that Sophus version. Otherwise, one needs to fetch the link to your Sophus fork, go to the stale branches and then see that there is a one line change and it's 19 commits behind. But this is probably personal preference.
Yes, that's why we use the git repo and check out at |
Holy moly
Ok, you have a point. It's true, that I might see that and think "this guys have a shady branch with who knows what", and with the patch is visible we haven't changed anything. Maybe worth applying the patch for windows only then ?
mmm, but this will inject |
Can we do that in a nice way?
Yes true, that's the downside. But how relevant is it not to have git as a build dependency?
Agree, but then we miss a lot of (possible) bugfixes for |
So there are three options now:
@tizianoGuadagnino what do you think? |
|
(3) is the way to go in my opinion as this will remove both problems:
|
For me the big argument that @nachovizzo is pointing out is the capability to build on robots, which we cannot compromise on. |
Ok, I think we all agree that we patch the original library versions so changes are visible but without relying on git. Nice addition! |
Okay, so now we fetch Sophus and Eigen tarballs and patch both of them not using Note that the Eigen version is now slightly different from before. Before, we used |
@nachovizzo I wait you pull the trigger to approve and merge. I am loving these changes btw |
For the sake of records, and to avoid wasting time yet again on this in the future. I can't recall why I particularly added that patch in eigen (good job on commit messages btw) but I do remember the BLAS library being built in the background without any need. For that I forked eigen and used the version that allows us to set the build of BLAS to off, otherwise, it doesn't make sense to add such a particular change. I don't have a Windows machine at hand, but this whole thing originated in this PR where they report
Which is extremely similar to what I remember. I think is better to make sure we do have the BLAS build disabled without having to rely on weird combinations of cmake and star alliance to bet that we will not build that library. |
Good news. We can probably now get also rid of the patch |
Switch from Nacho's forks to the original repos. Since the Windows fix for Sophus has not been added, we solve this using a patch.
EDIT: Sorry for the mess @nachovizzo, we were going a bit back and forth 🤣
Now this PR is separating from the others.