Skip to content
This repository was archived by the owner on Jan 22, 2019. It is now read-only.

Commit c7af523

Browse files
author
mtrey
committed
add cwise_op_floor_mod to android build
1 parent f0f4e34 commit c7af523

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

compile-android.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ git clone https://github.com/tensorflow/tensorflow
3737
cd tensorflow
3838

3939
git checkout $TENSORFLOW_VERSION
40+
git apply ../tf-android.patch
4041

4142
cat << EOF >> WORKSPACE
4243
android_ndk_repository(

debian/versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#/usr/env/bin bash
22
export TF_VERSION="107cc777af7880c140d089e44ad898a6ba929286"
3-
export TF_DEB_VERSION="1.3.1-snips-2"
3+
export TF_DEB_VERSION="1.3.1-snips-3"
44

tf-android.patch

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/tensorflow/core/kernels/BUILD b/tensorflow/core/kernels/BUILD
2+
index 0c862c739e..8643efdfe3 100644
3+
--- a/tensorflow/core/kernels/BUILD
4+
+++ b/tensorflow/core/kernels/BUILD
5+
@@ -4230,6 +4230,7 @@ filegroup(
6+
"cwise_op_exp.cc",
7+
"cwise_op_floor.cc",
8+
"cwise_op_floor_div.cc",
9+
+ "cwise_op_floor_mod.cc",
10+
"cwise_op_greater.cc",
11+
"cwise_op_greater_equal.cc",
12+
"cwise_op_invert.cc",

0 commit comments

Comments
 (0)