Open Matthew-Benson opened 1 month ago
Ah, today this fails due to bad toolchain resolution for ninja
, and this is resolved in a PR (here), but it's ahead of the current release and it's not clear when we'll get a release.
That leaves us with a couple questions.
rules_foreign_cc
automatically registering a toolchain for ninja
? We should try to address this and remove this toolchain registration if possible. Apparently bzlmod support isn't great, which makes this a lot harder on us downstream.I think we should defer this issue for now. We can address MacOS support more easily when upstream issues are resolved.
There's also a radical third option. We could vendor a fork of rules_foreign_cc
using Copybara that only includes the toolchain for cmake so we never introduce this dependency on rules_foreign_cc
to library consumers.
The
fish_binary
probably works for MacOS today, but the toochain hasn't been configured for MacOS platforms. This needs added (it's currently commented out) and tested.