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

enabled cgal #70

Merged
merged 26 commits into from
Nov 2, 2022
Merged

enabled cgal #70

merged 26 commits into from
Nov 2, 2022

Conversation

aryan26roy
Copy link
Collaborator

No description provided.

@aryan26roy
Copy link
Collaborator Author

@jpivarski , enabling cgal again breaks the wheel building on linux.

@chrispap95
Copy link
Collaborator

@lgray I was able to fix this in a local container. The problem here is that yum's boost-devel is the ancient version 1.53. However, fastjet relies on boost/predef.h that exists since 1.55. I had to download and unpack boost manually. Compilation & tests worked as expected. The reason why I didn't push a fix yet is that the boost mirrors are excruciatingly slow. I believe requesting the boost tarball from there would slow our wheels building a lot. I am not sure how to overcome this. Maybe find some alternative mirror for boost?

@lgray
Copy link
Collaborator

lgray commented Nov 2, 2022

@chrispap95 that is completely non-obvious from the error message. Thank you for looking into this. I'll figure out something for a mirror.

@lgray
Copy link
Collaborator

lgray commented Nov 2, 2022

So long as fastjet's usage of boost is really header only it seems that: https://github.com/boostorg/boost.git

is plenty fast. But I am guessing you tried that and found it lacking?

@chrispap95
Copy link
Collaborator

ahh actually no! I just used https://www.boost.org/users/download/
I didn't think to look on github! This might be sufficient!

awaiting patch from @chrispap95 for manual boost install in wheel (just add it to this branch).
Indeed looking in the CGAL docs it's header only and requires boost 1.66 or later.
@chrispap95
Copy link
Collaborator

@lgray did you manage to find any full releases on the boost github page? I only see tags that contain only the main repository (i.e. not recursive). I tried git clone --recusive but the size of the project is huge and it ends up being slower than the official mirrors. I just tried a curl from the official mirrors and it took ~4 mins. Not great not super bad. I will make a patch using that for the moment to make sure we have a working version and we can update it if we find a better alternative.

P.S. Is it legal to host the file ourselves?

@lgray
Copy link
Collaborator

lgray commented Nov 2, 2022

Hmmm. moment.

@lgray
Copy link
Collaborator

lgray commented Nov 2, 2022

Ah, I see I should have looked at the repository structure more closely. That's a bummer.

I think an additional four minutes to build wheels really isn't a big deal in the grand scheme of things, 11m vs 7m doesn't really change the course of one's day. I'd stick with your curl patch for now, so go ahead and toss it in.

We can probably host the file ourselves if we want to but that's some rather annoying additional burden to deal with.

@lgray
Copy link
Collaborator

lgray commented Nov 2, 2022

eeeey it worked!

@chrispap95
Copy link
Collaborator

Thanks! Looks good now! And the download wasn't bad at all! (I am probably getting a terrible mirror where I am). I guess we are done?!

@lgray lgray merged commit 3d2d3a8 into main Nov 2, 2022
@lgray lgray deleted the aryan/enable-cgal branch November 2, 2022 21:11
@jmduarte jmduarte linked an issue Nov 3, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

re-enable CGAL for rc7
3 participants