-
Notifications
You must be signed in to change notification settings - Fork 125
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
macOS build error on 4.0.0 : undeclared identifier 'CLOCK_MONOTONIC' #185
Comments
Think we may need something like this |
Ah you're right, we forgot to test Mac when adding the nanosecond resolution timers. I appreciate the link to the conda-forge fix, I'll try to implement that in a PR today. |
@Theelx the CI does test on OSX. Not sure why ours work, but the conda ones fail. |
Do we know what versions of OSX are being used for our pipeline vs conda's? |
Conda-forge is building with an older macOS SDK (10.9) to support a wider range of users. Sounds like wheels are doing the same thing. Admittedly that is getting to be a pretty old macOS version. Looking at the patch linked above, it appears this feature isn't included until 10.12, which is more recent. |
You can request a newer macOS for a conda-recipe, we have to do that for root-feedstock and I think some others. 10.9 is really old at this point, is conda-forge ever going to update that? |
Feel free to share feedback in issue ( conda-forge/conda-forge.github.io#1844 ) In any event for the scope of this issue, agree we can bump the minimum OS requirement in conda-forge, which I'm now doing in the feedstock Not sure how that is handled for wheels given they would have the same issue. Perhaps folks here have thoughts on that 🙂 |
I'd personally recommend just bumping to 10.12 for wheels too. 10.12 is plenty old at this point. That's the first version that starts having some C++17 support (10.14 for full C++17 support). CMake's wheels bumped from 10.9 to to 10.10 and no one has complained yet. :) |
Is this a configuration developers here would need to set? If so, how should that be done? Also would it makes to raise upstream with |
Yes, you set |
On macOS builds am seeing the following error:
This traces back to this line:
line_profiler/line_profiler/timers.c
Line 64 in 623078e
More details in this CI log. Have also attached the log for posterity
The text was updated successfully, but these errors were encountered: