From 9a70ab8813048db1aacd3df5361dae42bf4ea31f Mon Sep 17 00:00:00 2001 From: Benoit Jacob Date: Sat, 13 Jun 2020 20:39:50 -0700 Subject: [PATCH] Support --cpu=armeabi, used in TensorFlow Raspberry Pi builds like here: https://github.com/tensorflow/tensorflow/blob/8aa3df0f972e1d046d5a87c2a75bc4276b3a0882/tensorflow/tools/ci_build/pi/build_raspberry_pi.sh#L110 PiperOrigin-RevId: 316305005 Change-Id: Ia3c43fe03fc6432b88ece385552132b2587af4bd --- third_party/cpuinfo/BUILD.bazel | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/third_party/cpuinfo/BUILD.bazel b/third_party/cpuinfo/BUILD.bazel index a4928af9224..15cfcd1c4ee 100644 --- a/third_party/cpuinfo/BUILD.bazel +++ b/third_party/cpuinfo/BUILD.bazel @@ -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"},