Skip to content

Commit 8ffc4ab

Browse files
committed
Add darwin_x86_64 to the is_darwing check.
1 parent 48b0392 commit 8ffc4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/os_info.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ load("@bazel_tools//tools/cpp:lib_cc_configure.bzl", "get_cpu_value")
22

33
_os_info_bzl_template = """
44
cpu_value = "{CPU_VALUE}"
5-
is_darwin = cpu_value == "darwin" or cpu_value == "darwin_arm64"
5+
is_darwin = cpu_value == "darwin" or cpu_value == "darwin_arm64" or cpu_value == "darwin_x86_64"
66
is_darwin_arm64 = cpu_value == "darwin_arm64"
77
is_linux = cpu_value == "k8" or cpu_value == "aarch64"
88
is_windows = cpu_value == "x64_windows"

0 commit comments

Comments
 (0)