-
Notifications
You must be signed in to change notification settings - Fork 6
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
Fix build step on MacOS (workaround) #14
Conversation
I can confirm it works on my machine using OSX Catalina version 10.15.7 |
OK, thanks. I suggest to merge this and to create a patch release such that @alexastanin can continue working from his machine, but I'll open a separate issue to discuss how we want to proceed in general. |
I have just Xcode command line tools. Now I get another Error
|
@alexastanin @andrewwinters5000 Could you please both try again whether the current branch works (same command to build as before)? |
I can confirm it works on my Laptop using OSX Catalina version 10.15.7 |
The new version builds for me as well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay to me in general (except a minor comment). I can't test anything since don't have access to a Mac.
Should we also run some CI test on Mac?
I think this would be preferable, I just don't have the resources at the moment to figure out how to modify If you want to give it a try, it would be excellent (I can also help where possible); otherwise I suggest to only create an issue for it right now. |
It may be helpful to look at https://github.com/lcw/p4est_occa_tutorial/blob/084c089328819c5c9ebdb6ae90507bfc2a379152/.travis.yml where I build p4est on the mac. |
@lcw Thanks a lot for the feedback! It's a great starting point and we added it to #16. |
This PR should fix the issues on MacOS that were reported by @alexastanin and @andrewwinters5000 on Slack (at least for me).
@alexastanin @andrewwinters5000 Can you please confirm that it works for you if you check out this branch and build P4est.jl from it? Something like this should work:
If this works for you, we should discuss whether we want to use such a workaround at all, or if we want to use another way how to set up the C bindings for P4est.jl (e.g., by pre-generating them and storing them in the package).