chore: Disable targets for cross-compilation.

This way we can do bazel build //... when cross-compiling.
This commit is contained in:
iphydf 2023-12-24 00:16:32 +00:00
parent 572924e924
commit 447666d1a1
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -19,7 +19,10 @@ sh_test(
"-RTS", "-RTS",
], ],
data = CIMPLE_FILES, data = CIMPLE_FILES,
tags = ["haskell"], tags = [
"haskell",
"no-cross",
],
) )
sh_test( sh_test(
@ -44,7 +47,10 @@ sh_test(
"@libvpx//:headers", "@libvpx//:headers",
"@opus//:headers", "@opus//:headers",
], ],
tags = ["haskell"], tags = [
"haskell",
"no-cross",
],
toolchains = ["@rules_cc//cc:current_cc_toolchain"], toolchains = ["@rules_cc//cc:current_cc_toolchain"],
) )
@ -54,7 +60,10 @@ sh_test(
srcs = ["//hs-cimple/tools:cimplefmt"], srcs = ["//hs-cimple/tools:cimplefmt"],
args = ["--reparse"] + ["$(locations %s)" % f for f in CIMPLE_FILES], args = ["--reparse"] + ["$(locations %s)" % f for f in CIMPLE_FILES],
data = CIMPLE_FILES, data = CIMPLE_FILES,
tags = ["haskell"], tags = [
"haskell",
"no-cross",
],
) )
cc_library( cc_library(