Skip to content

Commit

Permalink
Also restrict the benchmarks to Linux.
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrasej committed Oct 21, 2023
1 parent 3e7d20b commit 1ceb93f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions gematria/experiments/access_pattern_bm/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ cc_library(
copts = FEATURE_OPTS,
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
)

Expand All @@ -54,6 +55,7 @@ cc_library(
copts = FEATURE_OPTS,
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
deps = ["@com_google_absl//absl/base:core_headers"],
)
Expand All @@ -80,6 +82,7 @@ cc_library(
copts = FEATURE_OPTS,
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
deps = ["@com_google_absl//absl/base:core_headers"],
)
Expand Down Expand Up @@ -110,6 +113,7 @@ cc_test(
copts = BALANCE_FLUSHING_TIME_OPTS + FEATURE_OPTS, # Since templated functions using _mm_clflushopt are defined in the header.
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
deps = [
"@com_github_google_benchmark//:benchmark_main",
Expand All @@ -127,6 +131,7 @@ cc_test(
copts = BALANCE_FLUSHING_TIME_OPTS + FEATURE_OPTS, # Since templated functions using _mm_clflushopt are defined in the header.
target_compatible_with = [
"@platforms//cpu:x86_64",
"@platforms//os:linux",
],
deps = [
"@com_github_google_benchmark//:benchmark_main",
Expand Down

0 comments on commit 1ceb93f

Please sign in to comment.