You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm new to bazel and am currently porting a project from cmake.
Unless I manually define a platform in my build file and pass it using --host_platform, the build always errors with:
No matching toolchains found for types @rules_foreign_cc//foreign_cc/private/framework:shell_toolchain.
My understanding is that this should work without manually specifying --host_platform, as the autodetected values are identical to the ones I specify on the command line (aarch64 is just an alias for arm64).
This is with Bazel 6 and the latest rules_foreign_cc (9acbb35)
I found #212 but it seems to imply that the issue is already fixed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I'm new to bazel and am currently porting a project from cmake.
Unless I manually define a platform in my build file and pass it using
--host_platform
, the build always errors with:I can get it to work with:
When I check the value of the autodetected host, I get the following:
My understanding is that this should work without manually specifying
--host_platform
, as the autodetected values are identical to the ones I specify on the command line (aarch64
is just an alias forarm64
).This is with Bazel 6 and the latest rules_foreign_cc (9acbb35)
I found #212 but it seems to imply that the issue is already fixed.
Beta Was this translation helpful? Give feedback.
All reactions