aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/protobuf/README.md
diff options
context:
space:
mode:
authorGravatar Zhong Wang <linuxerwang@gmail.com>2015-08-12 15:06:08 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-08-12 15:24:50 +0000
commit8c2881324d2e98bbc876b84eddd58baa98d40121 (patch)
tree4f9bc6bbd439dd5d96a407403b338ba692354da1 /third_party/protobuf/README.md
parent4c5eb0ff6540f7e90fbad3a04053699840163477 (diff)
Add native support for linux on ARM Cpu (32 bits)
-- Change-Id: Ia70ca1b8482e10bc1ac91799aa238f8613e5c824 Reviewed-on: https://bazel-review.googlesource.com/#/c/1801 MOS_MIGRATED_REVID=100476467
Diffstat (limited to 'third_party/protobuf/README.md')
-rw-r--r--third_party/protobuf/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/protobuf/README.md b/third_party/protobuf/README.md
index c46cf4a548..8e200e7da7 100644
--- a/third_party/protobuf/README.md
+++ b/third_party/protobuf/README.md
@@ -9,3 +9,14 @@ How to update these files:
7. Update third_party/BUILD to point to the new jar file.
8. Done.
+
+Because maven.org doesn't have a prebuilt binary for linux on ARM, you need to build the binary
+yourself on the target system. Follow the build steps of protocol buffer to create the binary,
+copy it to this directory and rename it to "protoc-linux-arm32.exe".
+
+For example:
+
+$ cp /usr/bin/protoc $BAZEL/third_party/protobuf/protoc-linux-arm32.exe
+
+This should be done before you run ./compile.sh.
+