2024-09-02 16:32:38 +00:00
|
|
|
load("//platforms/config:defs.bzl", "platforms")
|
|
|
|
|
|
|
|
[platform(
|
|
|
|
name = "{}_{}".format(
|
|
|
|
p.os,
|
|
|
|
p.cpu,
|
|
|
|
),
|
|
|
|
constraint_values = [
|
|
|
|
"@platforms//os:{}".format(p.os),
|
|
|
|
"@platforms//cpu:{}".format(p.cpu),
|
|
|
|
],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
) for p in platforms]
|
|
|
|
|
|
|
|
alias(
|
|
|
|
name = "linux_amd64",
|
|
|
|
actual = ":linux_x86_64",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
alias(
|
|
|
|
name = "linux_arm64",
|
|
|
|
actual = ":linux_aarch64",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
2022-08-18 21:18:33 +00:00
|
|
|
platform(
|
|
|
|
name = "x86_64_linux_remote",
|
|
|
|
constraint_values = [
|
|
|
|
"@platforms//os:linux",
|
|
|
|
"@platforms//cpu:x86_64",
|
|
|
|
],
|
|
|
|
exec_properties = {
|
|
|
|
"OSFamily": "Linux",
|
|
|
|
"container-image": "docker://public.ecr.aws/docker/library/python@sha256:247105bbbe7f7afc7c12ac893be65b5a32951c1d0276392dc2bf09861ba288a6",
|
|
|
|
},
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|