File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
modules/boost.timer/1.83.0.bcr.1 Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 11load ("@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+
311cc_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
3345cc_test (
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments