add support for mips64 platform
This commit is contained in:
parent
ed1e38edca
commit
4b660b4922
@ -238,6 +238,12 @@ config_setting(
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "linux_mips64",
|
||||
values = {"cpu": "mips64"},
|
||||
visibility = ["//visibility:public"],
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "debug",
|
||||
values = {
|
||||
|
6
third_party/cpuinfo/BUILD.bazel
vendored
6
third_party/cpuinfo/BUILD.bazel
vendored
@ -102,6 +102,7 @@ cc_library(
|
||||
":linux_armv7a": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
|
||||
":linux_armeabi": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
|
||||
":linux_aarch64": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM64_SRCS,
|
||||
":linux_mips64": COMMON_SRCS + LINUX_SRCS,
|
||||
":macos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
|
||||
":windows_x86_64": COMMON_SRCS + X86_SRCS + WINDOWS_X86_SRCS,
|
||||
":android_armv7": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS + ANDROID_ARM_SRCS,
|
||||
@ -208,6 +209,11 @@ config_setting(
|
||||
values = {"cpu": "aarch64"},
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "linux_mips64",
|
||||
values = {"cpu": "mips64"},
|
||||
)
|
||||
|
||||
config_setting(
|
||||
name = "macos_x86_64",
|
||||
values = {
|
||||
|
@ -22,6 +22,8 @@ def _remote_platform_configure_impl(repository_ctx):
|
||||
cpu = "aarch64"
|
||||
elif machine_type.startswith("arm"):
|
||||
cpu = "arm"
|
||||
elif machine_type.startswith("mips64"):
|
||||
cpu = "mips64"
|
||||
|
||||
exec_properties = repository_ctx.attr.platform_exec_properties
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user