Hello,

The macOS 26 Tahoe Problem wiki page mentions that the Metal toolchain is no 
longer bundled in Xcode [0], and that the solution is to install the toolchain 
by running `xcodebuild -downloadComponent MetalToolchain`.

OpenJDK 17, 21 and 25 (the 3 most recent Long Term Support versions) all 
require the Metal toolchain to build on macOS, but I haven’t been able to build 
these ports from source on macOS 26 yet. There is a ticket about this [1], but 
as far as I understand so far nobody has been able to get these ports to build 
on their local machine.

Apparently Ryan Carsten Schmidt has installed the Metal toolchain on the 
buildbots, and got some success there, but I submitted an openjdk25 port [2] 
and while it built successfully on macOS 12-15, it failed to find the Metal 
toolchain on macOS 26 arm64 buildbot.

Does anyone else have any ports that require this toolchain and build 
successfully on macOS 26?

Does anyone have any idea how we could move forward with these OpenJDK ports 
whose configure scripts fail to find the Metal toolchain?

Thanks, Nils.

[0] 
https://trac.macports.org/wiki/TahoeProblems#MetaltoolchainisnolongerbundledinXcode
[1] https://trac.macports.org/ticket/73008
[2] https://ports.macports.org/port/openjdk25/details/

Reply via email to