This is probably similar to a previous discussion
<https://groups.google.com/d/topic/grpc-io/lEwfOdDgdZU/discussion>.

We've not done any work to build the native grpc-java components on Power
or ARM (and Android doesn't count, since that stack doesn't need any native
components to be built).

For building grpc-compiler, all that may be necessary is to add a new
platform to the list we have
<https://github.com/grpc/grpc-java/blob/v0.15.0/compiler/build.gradle#L55>.
This is very gradle-specific, and you might need to reference the docs
<https://docs.gradle.org/current/userguide/native_software.html>. But I'd
really expect very few changes necessary (like up to 5 lines). If you get
it working, we'd be happy to accept a PR. We've talked with Bazel devs in
the past; we may want to talk to them some more to make sure that using
Bazel on those platforms is smooth.

netty-tcnative-boring-ssl doesn't have pre-built binaries either for
ARM/Power. However, I question if they are necessary. I don't think bazel
is using TLS (since it is local-only communication). I wouldn't be
surprised if they needed netty-epoll or something like that though, since
that allows using Unix Domain Sockets. There are docs
<http://netty.io/wiki/forked-tomcat-native.html> on how to build tcnative,
if it turns out you need it.

On Thu, Jul 14, 2016 at 4:45 AM, <nishidh...@gmail.com> wrote:

>
> Hi,
>
> I'm trying to build grpc-java on Power8 in order to build bazel 0.3.0
> (need protoc-gen-grpc-java built on power). However, I'm getting below
> errors while doing so -
> A problem occurred configuring project ':grpc-compiler'.
> > Exception thrown while executing model rule: NativeComponentRules#
> createBinaries
> > Invalid NativePlatform: ppcle_64
>
> Could anyone please guide me on how to build grpc-java on Power? I've also
> gone through a similar post for "arm" but it didn't help. Looks like some
> other places also need to be modified in order to add support for Power.
> Not sure if skipcodegen=true is expected in my case, but I've also tried
> that and it also fails for missing netty-tcnative-boring-ssl jar for Power.
>
> Thanks in advance,
> Nishidha
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/1b0d3426-61fc-4089-84dd-fef0a5b7c495%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/1b0d3426-61fc-4089-84dd-fef0a5b7c495%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CA%2B4M1oOwpwb%2BqzDO%3Ds5NfVteTSheyU5DODFwnR3mQoXHRa%3DJvg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to