Skip to content

Commit

Permalink
Merge pull request #2109 from tweag/cg/fix_is_darwin
Browse files Browse the repository at this point in the history
fix: add `darwin_x86_64` to the `is_darwin` check
  • Loading branch information
mergify[bot] authored Jan 12, 2024
2 parents 48b0392 + 8ffc4ab commit 56c2428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/os_info.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ load("@bazel_tools//tools/cpp:lib_cc_configure.bzl", "get_cpu_value")

_os_info_bzl_template = """
cpu_value = "{CPU_VALUE}"
is_darwin = cpu_value == "darwin" or cpu_value == "darwin_arm64"
is_darwin = cpu_value == "darwin" or cpu_value == "darwin_arm64" or cpu_value == "darwin_x86_64"
is_darwin_arm64 = cpu_value == "darwin_arm64"
is_linux = cpu_value == "k8" or cpu_value == "aarch64"
is_windows = cpu_value == "x64_windows"
Expand Down

0 comments on commit 56c2428

Please sign in to comment.