[MacPorts] #72379: whisper requires C11
MacPorts
noreply at macports.org
Mon Apr 21 03:32:24 UTC 2025
#72379: whisper requires C11
---------------------------+-----------------------
Reporter: barracuda156 | Owner: exprez135
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: whisper |
---------------------------+-----------------------
Comment (by barracuda156):
Replying to [comment:1 exprez135]:
> Thank you for reporting. Does this stop the build entirely for you?
>
> If not, can you share the further results of the other tests `Looking
for pthread_create in pthread` and `Looking for pthread_create in
pthreads`?
I recall pthread lib is reported as not found when the compilers fails to
support the standard. And yeah, once CMake finds out that C11/C++11 is not
supported, it fails on the spot.
This is fixable by setting `compiler.c_standard 2011` in the portfile.
Once done, configure failed on Metal not being present, and I did not
investigate further. If Metal is required, then the port should be
restricted to systems where this framework actually exists. If it is not
required, then it should be disabled, conditionally on macOS version.
--
Ticket URL: <https://trac.macports.org/ticket/72379#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list