[MacPorts] #63240: ispc @1.16.0_0: error: Unsupported architecture
MacPorts
noreply at macports.org
Wed Nov 3 18:50:47 UTC 2021
#63240: ispc @1.16.0_0: error: Unsupported architecture
---------------------------+----------------------
Reporter: chrstphrchvz | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords:
Port: ispc |
---------------------------+----------------------
Comment (by chrstphrchvz):
Be aware of development upstream: https://github.com/ispc/ispc/pull/2120
attempted to follow through on this issue, but I believed the approach
used will still fail on MacPorts build bots; I believe it was because
`xcrun --sdk … --show-sdk-version` reportedly did not work when full Xcode
is present. I’m not sure if it would help for CMakeLists.txt to be more
consistent in getting the SDK path and version either using `xcodebuild`
or `xcrun` and not both, i.e not using the output of one as an argument of
the other: so in each step, try `xcodebuild` first, and then try `xcrun`
if it fails (i.e. because full Xcode isn’t installed).
Unless someone knows a good approach for retrieving `Version` from
SDKSettings.plist, ideally without parsing XML or binary plist from CMake.
--
Ticket URL: <https://trac.macports.org/ticket/63240#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list