Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added arch variable
  • Loading branch information
DvirDukhan committed Mar 9, 2021
commit 5321ae7f5137d0bae16c8c2c88636eef048e640b
3 changes: 2 additions & 1 deletion opt/build/tflite/new_build.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
set -e
set -x
VERSION=$1
ARCH=$2
wget https://github.com/tensorflow/tensorflow/archive/v$VERSION.tar.gz
tar -xzf v$VERSION.tar.gz
cd tensorflow-$VERSION
Expand Down Expand Up @@ -41,4 +42,4 @@ bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 tensorfl
cp bazel-bin/tensorflow/lite/delegates/gpu/libtensorflowlite_gpu_delegate.so $TMP_LIB/lib
# create .tar.gz file
cd $TMP_LIB
tar -cvzf libtensorflowlite-linux-arm64-$VERSION.tar.gz .
tar -cvzf libtensorflowlite-linux-$ARCH-$VERSION.tar.gz .