Skip to content

Commit

Permalink
Add darwin_x86_64 to the is_darwing check.
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrindel committed Jan 11, 2024
1 parent 48b0392 commit 8ffc4ab
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 8ffc4ab

Please sign in to comment.