Closed MarDiehl closed 10 months ago
I'm not sure what the issue is. The one mac-os host that I have available seems to compile it just fine (using a homebrew installtion).
I'm on a somewhat older version though (10.13).
What's the environment the build fails?
https://github.com/pocoproject/poco/issues/1453
Seems like clock_gettime is not available on some old? versions of MacOSX.
Although I'm on an older version, I've updated recently and the support is available.
From man clock_gettime() on my mac box.
"These functions first appeared in Mac OSX 10.12"
It's a recent macOS version (11.7.10), but build with -mmacosx-version-min=10.9
. That explains it.
For the conda package, I simply patch away the code for the timing tests
Updating the Conda package for macOS (Intel) fails due to missing
CLOCK_MONOTONIC
(and undefinedclock_gettime
). It runs on macOS 11.7.10, so according to https://stackoverflow.com/questions/5167269/, it should be available.