Skip to content

Commit

Permalink
uses armeabi cpu for aarch64.
Browse files Browse the repository at this point in the history
  • Loading branch information
lhelontra committed Aug 2, 2020
1 parent a24ae9e commit 900a453
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build_tensorflow/configs/beagle_black.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TF_PATCH="yes"
TF_PATCH="no"
TF_VERSION="v2.3.0"

# export tensorflow variables to configure
Expand Down
2 changes: 1 addition & 1 deletion build_tensorflow/configs/nitrogen6x.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TF_PATCH="yes"
TF_PATCH="no"
TF_VERSION="v2.3.0"

# export tensorflow variables to configure
Expand Down
2 changes: 1 addition & 1 deletion build_tensorflow/configs/odroidc1.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TF_PATCH="yes"
TF_PATCH="no"
TF_VERSION="v2.3.0"

# export tensorflow variables to configure
Expand Down
2 changes: 1 addition & 1 deletion build_tensorflow/configs/odroidxu4.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TF_PATCH="yes"
TF_PATCH="no"
TF_VERSION="v2.3.0"

# export tensorflow variables to configure
Expand Down
2 changes: 1 addition & 1 deletion build_tensorflow/configs/rpi.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TF_PATCH="yes"
TF_PATCH="no"
TF_VERSION="v2.3.0"

# export tensorflow variables to configure
Expand Down
2 changes: 1 addition & 1 deletion build_tensorflow/configs/rpi_one.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TF_PATCH="yes"
TF_PATCH="no"
TF_VERSION="v2.3.0"

# export tensorflow variables to configure
Expand Down
2 changes: 1 addition & 1 deletion build_tensorflow/configs/rpi_one_openblas.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# using openblas for pi-{one,zero}
OPENBLAS_PATH="/tmp/openblas_install"

TF_PATCH="yes"
TF_PATCH="no"
TF_VERSION="v2.3.0"

# export tensorflow variables to configure
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
From d46ddcae126dcb146bcfb7d575879d895ea3d50a Mon Sep 17 00:00:00 2001
From: Leonardo Lontra <lhe.lontra@gmail.com>
Date: Sun, 2 Aug 2020 20:19:07 -0300
Subject: [PATCH] fix cpuinfo aarch64

---
third_party/cpuinfo/BUILD.bazel | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/third_party/cpuinfo/BUILD.bazel b/third_party/cpuinfo/BUILD.bazel
index 15cfcd1c4e..2dd9c6b5da 100644
--- a/third_party/cpuinfo/BUILD.bazel
+++ b/third_party/cpuinfo/BUILD.bazel
@@ -100,8 +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,
+ ":linux_armeabi": 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,
":android_armv7": COMMON_SRCS + ARM_SRCS + LINUX_SRCS + LINUX_ARM32_SRCS + ANDROID_ARM_SRCS,
--
2.20.1

0 comments on commit 900a453

Please # to comment.