I'm faced with what I think is a tricky issue. I'm trying to help folks
to compile HBase on PPC. The protobuf community does not publish a PPC
binary for protoc which means that the HBase build can't generate our
protobuf files. Protobuf supports: x86/x86_64 for linux, windows, and
osx in 3.3.0 (an aarch_64 starting in 3.5.0).
I'm trying to think through any/all solutions:
1. Get protobuf folks to build/publish protoc for PPC.
2. Commit our generated java files to the repository and provide an
option to skip compilation on unsupported ARCHs.
3. Try to find/create some non-official PPC support ala
https://github.com/os72/protoc-jar
4. Do nothing
Evaluating these, #1 and #3 are a "later" solution. #2 puts some pain on
developers to git-add these files if they are modified. Maybe not a lot
of pain since protocol changes should be infrequent at this point?
There seems to be some stalled work for #1 via
https://github.com/google/protobuf/pull/3506
What do people think? I'm probably between a rock and a hard place to
get this work one way or another in the immediate. If there's support
for this in the community, I'd prefer to work towards that.
- Josh