diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-10-12 15:08:11 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-10-12 15:15:45 -0700 |
commit | abb6b8e73cc0c7b566536df52e93a7eb6327b788 (patch) | |
tree | 6cb36064392c51164654294a25f7256a38ebc807 /tensorflow/tensorflow.bzl | |
parent | 7c2993a2358688f2a4e314ee8c15c40ebc4ce9f1 (diff) |
Add linux_arm64 and linux_armhf config_setting.
PiperOrigin-RevId: 172018709
Diffstat (limited to 'tensorflow/tensorflow.bzl')
-rw-r--r-- | tensorflow/tensorflow.bzl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tensorflow/tensorflow.bzl b/tensorflow/tensorflow.bzl index 0f074151db..5ec31e492c 100644 --- a/tensorflow/tensorflow.bzl +++ b/tensorflow/tensorflow.bzl @@ -112,6 +112,9 @@ def if_ios(a): def if_mobile(a): return select({ clean_dep("//tensorflow:android"): a, + # Treat arm linux devices as mobile. + clean_dep("//tensorflow:linux_arm64"): a, + clean_dep("//tensorflow:linux_armhf"): a, clean_dep("//tensorflow:ios"): a, "//conditions:default": [], }) @@ -120,6 +123,9 @@ def if_mobile(a): def if_not_mobile(a): return select({ clean_dep("//tensorflow:android"): [], + # Treat arm linux devices as mobile. + clean_dep("//tensorflow:linux_arm64"): [], + clean_dep("//tensorflow:linux_armhf"): [], clean_dep("//tensorflow:ios"): [], "//conditions:default": a, }) |