1
0
mirror of https://github.com/google/cpu_features.git synced 2025-07-03 14:13:18 +02:00

[bazel] inline platforms and remove platforms.bzl

This commit is contained in:
Guillaume Chatelet
2024-12-18 10:30:09 +00:00
parent 4f45bf2669
commit fe267192ac
2 changed files with 41 additions and 78 deletions

View File

@ -1,28 +0,0 @@
"""Defines global variables that lists target cpus"""
PLATFORM_CPU_X86_64 = ("@platforms//cpu:x86_64")
PLATFORM_CPU_ARM = ("@platforms//cpu:arm")
PLATFORM_CPU_ARM64 = ("@platforms//cpu:arm64")
PLATFORM_CPU_MIPS = ("@platforms//cpu:mips64")
PLATFORM_CPU_PPC = ("@platforms//cpu:ppc")
PLATFORM_CPU_RISCV32 = ("@platforms//cpu:riscv32")
PLATFORM_CPU_RISCV64 = ("@platforms//cpu:riscv64")
PLATFORM_OS_MACOS = ("@platforms//os:macos")
PLATFORM_OS_LINUX = ("@platforms//os:linux")
PLATFORM_OS_ANDROID = ("@platforms//os:android")
PLATFORM_OS_FREEBSD = ("@platforms//os:freebsd")
PLATFORM_OS_OPENBSD = ("@platforms//os:openbsd")
PLATFORM_OS_WINDOWS = ("@platforms//os:windows")