Skip to content

Commit

Permalink
New way of platform info.
Browse files Browse the repository at this point in the history
  • Loading branch information
ogra committed Jul 31, 2024
1 parent c8ae1c3 commit 7fd0b8d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions toolchain/install/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ load("@rules_cc//cc:defs.bzl", "cc_binary", "cc_library", "cc_test")
load("@rules_pkg//pkg:mappings.bzl", "pkg_attributes", "pkg_filegroup", "pkg_files", "pkg_mklink", "strip_prefix")
load("pkg_helpers.bzl", "pkg_naming_variables", "pkg_tar_and_test")
load("symlink_filegroup.bzl", "symlink_filegroup")
load("@@bazel_tools//tools:platforms/platforms.bzl", "host_platform")

package(default_visibility = ["//visibility:public"])

Expand Down Expand Up @@ -210,16 +209,16 @@ pkg_naming_variables(
config_setting(
name = "macos_amd64",
constraint_values = [
"@bazel_tools//platforms:osx",
"@bazel_tools//platforms:x86_64",
"@platforms//os:osx",
"@platforms//cpu:x86_64",
],
)

config_setting(
name = "macos_arm64",
constraint_values = [
"@bazel_tools//platforms:osx",
"@bazel_tools//platforms:arm64",
"@platforms//os:osx",
"@platforms//cpu:arm64",
],
)

Expand Down

0 comments on commit 7fd0b8d

Please sign in to comment.