diff options
author | namrata-ibm <bhavenamrata@gmail.com> | 2016-10-11 09:59:27 +0000 |
---|---|---|
committer | Yue Gan <yueg@google.com> | 2016-10-11 13:26:24 +0000 |
commit | 155bd6457c7426faa84b5acba991a1c80cdcf920 (patch) | |
tree | 3f4db04a5f52722548cd3b0d6f45fce20d5df5bd /third_party/protobuf | |
parent | 22d36737aa2a37edecf6c855e61f82df3c79596b (diff) |
Adding support for Linux s390x
We have added support for Linux s390x platform in Bazel.
Closes #1891.
--
Reviewed-on: https://github.com/bazelbuild/bazel/pull/1891
MOS_MIGRATED_REVID=135777047
Diffstat (limited to 'third_party/protobuf')
-rw-r--r-- | third_party/protobuf/3.0.0/BUILD | 1 | ||||
-rw-r--r-- | third_party/protobuf/README.md | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/third_party/protobuf/3.0.0/BUILD b/third_party/protobuf/3.0.0/BUILD index f5c37596d8..85c7ea5262 100644 --- a/third_party/protobuf/3.0.0/BUILD +++ b/third_party/protobuf/3.0.0/BUILD @@ -30,6 +30,7 @@ filegroup( "//third_party:k8": ["protoc-3.0.0-linux-x86_64.exe"], "//third_party:piii": ["protoc-3.0.0-linux-x86_32.exe"], "//third_party:freebsd": ["protoc-3.0.0-linux-x86_32.exe"], + "//third_party:s390x": ["protoc-linux-s390x_64.exe"], }), ) diff --git a/third_party/protobuf/README.md b/third_party/protobuf/README.md index f5e0cd3919..85ba1a9ac4 100644 --- a/third_party/protobuf/README.md +++ b/third_party/protobuf/README.md @@ -56,6 +56,15 @@ a Windows machine. ``` * * * +### Updating the Linux s390x 64-bit proto compiler +To add 64-bit Linux s390x version of the statically linked proto compiler, use below steps: + +1. Build Protobuf compiler (v3.0.0-beta-2) from https://github.com/google/protobuf. +2. `cp src/protoc <Bazel tree>/third_party/protobuf/protoc-linux-s390x_64.exe` +3. `cp src/protoc <Bazel tree>/third_party/protobuf/<version>/protoc-linux-s390x_64.exe` + + +* * * ### Updating `protobuf.bzl` and the `src/` directory: 1. `git clone http://github.com/google/protobuf.git` |