mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 21:31:15 +02:00
[NFC] Add bazel support to cpu_features (#222)
This commit is contained in:

committed by
GitHub

parent
5f5e6d620f
commit
e38dc6d2a8
11
bazel/platforms.bzl
Normal file
11
bazel/platforms.bzl
Normal file
@ -0,0 +1,11 @@
|
||||
"""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")
|
Reference in New Issue
Block a user