mirror of
https://github.com/nolen777/eagle0.git
synced 2026-07-28 21:15:45 +00:00
Add Bazel platform toolchain error messages (#7154)
This commit is contained in:
@@ -11,6 +11,7 @@ platform(
|
||||
"@platforms//os:linux",
|
||||
"@platforms//cpu:x86_64",
|
||||
],
|
||||
missing_toolchain_error = "No Linux x86_64 toolchain matched. Docker/Eagle image builds should pass --platforms=//:linux_x86_64 and --extra_toolchains=@llvm_toolchain_linux//:cc-toolchain-x86_64-linux when compiling C++ code.",
|
||||
)
|
||||
|
||||
# Platform for cross-compiling to Linux ARM64
|
||||
@@ -20,6 +21,7 @@ platform(
|
||||
"@platforms//os:linux",
|
||||
"@platforms//cpu:aarch64",
|
||||
],
|
||||
missing_toolchain_error = "No Linux ARM64 toolchain matched. Shardok ARM64 builds should pass --platforms=//:linux_arm64 and --extra_toolchains=@llvm_toolchain_linux_arm64//:cc-toolchain-aarch64-linux.",
|
||||
)
|
||||
|
||||
gazelle(name = "gazelle")
|
||||
|
||||
Reference in New Issue
Block a user