| 18 | | P.S. I maintain the `openjdk*` ports, which also require the Metal toolchain to build, and I got the advice from Mark Mentovai to patch away `-sdk macosx`, because MacPorts sets the SDK, which may be different from this default. Mark Mentovai is the person who figured out that `sudo xcodebuild -downloadComponent MetalToolchain` with Xcode 26 doesn't necessarily result in a Metal toolchain setup that works in the context of MacPorts (see https://trac.macports.org/wiki/TahoeProblems#MetaltoolchainisnolongerbundledinXcode and the linked issue). I'm working on a general Metal toolachin check with actionable advice in https://github.com/macports/macports-ports/pull/32889, which I eventually hope to turn into a reusable metal PortGroup. |
| | 18 | P.S. I maintain the `openjdk*` ports, which also require the Metal toolchain to build, and I got the advice from Mark Mentovai (who did the work that led to https://trac.macports.org/wiki/TahoeProblems#MetaltoolchainisnolongerbundledinXcode) to patch away `-sdk macosx`, because MacPorts sets the SDK, which may be different from this default. I'm working on a general Metal toolachin check with actionable advice in https://github.com/macports/macports-ports/pull/32889, which I eventually hope to turn into a reusable metal PortGroup. |