blob: de7776213ba7f6f744d4c379762d4583fbfbadcf [file] [log] [blame]
Brian Silverman7d89e282021-11-17 17:36:54 -08001# Copyright 2021 The Bazel Authors.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15package(default_visibility = ["//visibility:public"])
16
17platform(
18 name = "linux-x86_64",
19 constraint_values = [
20 "@platforms//os:linux",
21 "@platforms//cpu:x86_64",
22 ],
23)
24
25platform(
26 name = "linux-aarch64",
27 constraint_values = [
28 "@platforms//os:linux",
29 "@platforms//cpu:aarch64",
30 ],
31)
32
33platform(
Brian Silverman4c7235a2021-11-17 19:04:37 -080034 name = "linux-armv7",
35 constraint_values = [
36 "@platforms//os:linux",
37 "@platforms//cpu:armv7",
38 ],
39)
40
41platform(
Brian Silverman7d89e282021-11-17 17:36:54 -080042 name = "darwin-x86_64",
43 constraint_values = [
44 "@platforms//os:osx",
45 "@platforms//cpu:x86_64",
46 ],
47)