mirror of
https://github.com/google/cpu_features.git
synced 2025-04-27 15:12:30 +02:00
29 lines
685 B
Python
29 lines
685 B
Python
"""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")
|