Skip to content

Commit 251f457

Browse files
committed
[boost.timer 1.83.0.bcr.1] Disabling tests using boost.move for macosa platforms
1 parent 8611d54 commit 251f457

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

modules/boost.timer/1.83.0.bcr.1/overlay/BUILD.bazel

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
22

3+
config_setting(
4+
name = "macos_arm",
5+
constraint_values = [
6+
"@platforms//os:macos",
7+
"@platforms//cpu:arm",
8+
],
9+
)
10+
311
cc_library(
412
name = "boost.timer",
513
srcs = glob(["src/*.cpp"]),
@@ -28,6 +36,10 @@ cc_test(
2836
":boost.timer",
2937
"@boost.chrono",
3038
],
39+
target_compatible_with = select({
40+
":macos_arm": ["@platforms//:incompatible"],
41+
"//conditions:default": [],
42+
}),
3143
)
3244

3345
cc_test(

modules/boost.timer/1.83.0.bcr.1/source.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"integrity": "sha256-CGzESZRhRsrUlZCiwYSbcpJehk2qMWt7dHvEvgeFht8=",
44
"strip_prefix": "timer-boost-1.83.0",
55
"overlay": {
6-
"BUILD.bazel": "sha256-yon4tnV0Qr3tqLtSYYoUJwz88QVfBExIrtEuoaGYZCU=",
6+
"BUILD.bazel": "sha256-RShDdjAmJF+ZG1oOVDYfYVVXIG/mRJnslz3X3SywKXU=",
77
"MODULE.bazel": "sha256-JbMp2oE6bqQfckU6H+94NbJTtrDWyvMVcLtV6mPrPik="
88
}
99
}

0 commit comments

Comments
 (0)