Skip to content

Commit 447666d

Browse files
committed
chore: Disable targets for cross-compilation.
This way we can do bazel build //... when cross-compiling.
1 parent 572924e commit 447666d

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

testing/BUILD.bazel

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@ sh_test(
1919
"-RTS",
2020
],
2121
data = CIMPLE_FILES,
22-
tags = ["haskell"],
22+
tags = [
23+
"haskell",
24+
"no-cross",
25+
],
2326
)
2427

2528
sh_test(
@@ -44,7 +47,10 @@ sh_test(
4447
"@libvpx//:headers",
4548
"@opus//:headers",
4649
],
47-
tags = ["haskell"],
50+
tags = [
51+
"haskell",
52+
"no-cross",
53+
],
4854
toolchains = ["@rules_cc//cc:current_cc_toolchain"],
4955
)
5056

@@ -54,7 +60,10 @@ sh_test(
5460
srcs = ["//hs-cimple/tools:cimplefmt"],
5561
args = ["--reparse"] + ["$(locations %s)" % f for f in CIMPLE_FILES],
5662
data = CIMPLE_FILES,
57-
tags = ["haskell"],
63+
tags = [
64+
"haskell",
65+
"no-cross",
66+
],
5867
)
5968

6069
cc_library(

0 commit comments

Comments
 (0)