-
Notifications
You must be signed in to change notification settings - Fork 574
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
Add builder for CGAL julia wrapper #405
Conversation
22ef3cd
to
c7c1457
Compare
What error did you get exactly? Are you sure you need to expand here? Note that there is no license in the generated tarball |
I was getting a linking error with a name-mangled reference to what I can only assume is a c++11 basic_string.. I think I can still find the exact logs, I'll get back to you on that.
Misfire on my behalf, I'll address it ASAP |
If so, this issue has been likely fixed by JuliaPackaging/BinaryBuilder.jl#604, but if cgal has symbols involving basic_string it's also very much probable that you need to expand cxxstring ABIs for that package first. Can you please run again locally the builder for cgal with the latest master of BinaryBuilder.jl and see if you get a warning about the C++ string ABI? You can do it for any platform, don't need to run again for all of them |
I'm scratching my head now, remembering a relatively important detail: since 5.0, CGAL's minimum supported version of the C++ standard is C++ 11, so I'm guessing I'll have to expand the ABI versions and only include
Will get on that as well! |
The C++ string ABI of GCC doesn't have to do with the C++ standard used, this is exactly the source of the incompatibility mentioned in |
Thank you for that! I'm still relatively new to some of these intricacies, still can't quite wrap my mind around it. But it makes sense, yes, of course. On another note, I indeed do get some warnings about using |
..I did not mean to close the PR, probably shouldn't just have force-pushed, deleting the commit.. My sincerest apologies for the mess. |
No worries, but keep in mind that working in a branch that has the same name as the upstream branch is a very bad idea, also because this workflow doesn't let you submit multiple pull requests at the same time, which I think is what happened here. I'm pretty sure that GitHub gives you also prominent warning if you try to do so, pointing to https://blog.jasonmeridth.com/posts/do-not-issue-pull-requests-from-your-master-branch/. You should always create a new branch for each PR |
Roger that. Been too accustomed work on a single branch recently. Lesson learned, that's for sure! Will be submitting a new PR properly now 😉 |
Submitting a recipe for building the wrapper code for a (very rough WIP) package that exposes some of CGAL's types and functionality: CGAL.jl.
A few notes:
cxx03
string abi binaries. I suspected I might encounter this error (JlCxx: Expand C++ string ABI + install LICENSE.md #393 (comment)). Filtering them out appeared to work.dll
s in mingw builds are being manually copied tobin
as well. Any pointers on removing this from the build script would be much appreciated.Any and all feedback will be more than welcome!