From 447666d1a1656481dddb42a3538c4cfbadf2963e Mon Sep 17 00:00:00 2001 From: iphydf Date: Sun, 24 Dec 2023 00:16:32 +0000 Subject: [PATCH] chore: Disable targets for cross-compilation. This way we can do bazel build //... when cross-compiling. --- testing/BUILD.bazel | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/testing/BUILD.bazel b/testing/BUILD.bazel index 95d2eb0c..bb7a4930 100644 --- a/testing/BUILD.bazel +++ b/testing/BUILD.bazel @@ -19,7 +19,10 @@ sh_test( "-RTS", ], data = CIMPLE_FILES, - tags = ["haskell"], + tags = [ + "haskell", + "no-cross", + ], ) sh_test( @@ -44,7 +47,10 @@ sh_test( "@libvpx//:headers", "@opus//:headers", ], - tags = ["haskell"], + tags = [ + "haskell", + "no-cross", + ], toolchains = ["@rules_cc//cc:current_cc_toolchain"], ) @@ -54,7 +60,10 @@ sh_test( srcs = ["//hs-cimple/tools:cimplefmt"], args = ["--reparse"] + ["$(locations %s)" % f for f in CIMPLE_FILES], data = CIMPLE_FILES, - tags = ["haskell"], + tags = [ + "haskell", + "no-cross", + ], ) cc_library(