-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Allow build on macOS #145
Allow build on macOS #145
Conversation
Interesting, |
I've only run this on Windows because the entire tool chain based on Vector is exclusively available for that platform. However, I'm developing a Python project that uses pyxcp, and I work on a Mac. Consequently, when I tried to install pyxcp in my environment, it failed after the release of 0.21.1. This update should resolve the issue. Do you have any plans to offer wheels for Mac? Specifically, wheels for macosx_13_0_arm64 (which would cover all Macs running on native Apple Silicon) would be fantastic. |
Wait a minute! |
I don't understand what you mean. I didn't make any changes to next_block, aside from removing the unused auto keyword. My modifications were solely related to the jthread components, which Apple's clang does not support. For reference, you can check: https://en.cppreference.com/w/cpp/20. |
OK, just enabled GH action MacOS build from my mobile. I'm not an Apple User, so I won't be able to fix any build problems... |
Instant fail, seems PyBind11 related. |
Yes, you're right, next_block is still there. |
Yup, and this is what my change here fixes :) You started it on master which will naturally fail. |
The build job is failing due to the runner employing an outdated version of macOS. Could you update the macOS version on the runner? As per GitHub's official documentation, specifying |
Build environment switched from MacOS 12.6.8 to 13.5.1, the issue persists, but I think it's not a big deal to fix. |
I see that you have fixed the issue and provided a macOS wheel with the newest 0.21.4 release. Thank you for the quick response! :) |
One proactive note: |
Types of changes
The changes introduced in 0.21.0 broke the ability to build this on macOS (running 13.5.2 with newest xcode). This fixes these issues.
I only tested it on macOS but it worked fine.