Support --cpu=armeabi, used in TensorFlow Raspberry Pi builds like here:

8aa3df0f97/tensorflow/tools/ci_build/pi/build_raspberry_pi.sh (L110)

PiperOrigin-RevId: 316305005
Change-Id: Ia3c43fe03fc6432b88ece385552132b2587af4bd
This commit is contained in:
Benoit Jacob 2020-06-13 20:39:50 -07:00 committed by TensorFlower Gardener
parent 5a6c606736
commit 9a70ab8813
1 changed files with 6 additions and 0 deletions

View File

@ -100,6 +100,7 @@ cc_library(
":linux_arm": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
":linux_armhf": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS,
":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,
":macos_x86_64": COMMON_SRCS + X86_SRCS + MACH_SRCS + MACH_X86_SRCS,
":windows_x86_64": COMMON_SRCS + X86_SRCS + WINDOWS_X86_SRCS,
@ -197,6 +198,11 @@ config_setting(
values = {"cpu": "armv7a"},
)
config_setting(
name = "linux_armeabi",
values = {"cpu": "armeabi"},
)
config_setting(
name = "linux_aarch64",
values = {"cpu": "aarch64"},