Ray: Build Ray Java code with Bazel.

Created on 5 Mar 2019  路  4Comments  路  Source: ray-project/ray

Currently it still uses cmake. Related to https://github.com/ray-project/ray/issues/2887. Some work was done on this in https://github.com/ray-project/ray/pull/3918.

Most helpful comment

@pcmoritz
Building java code is in another target:
1) build C++ part: ./build.sh -l java
2) build Java part: bazel build //java:all

So i think it has no effect on anything now.

All 4 comments

@guoyuhong What still needs to be done here? It'd be great to deprecate cmake as quickly as possible.

We are working on this right now. I believe that it'll be met soon.

Great, let's also make sure that ray can still compile if the java development environment is not installed, i.e. there should be a flag to deactivate it, or it should be a separate target, or it should only be compiled if the java development headers are available.

@pcmoritz
Building java code is in another target:
1) build C++ part: ./build.sh -l java
2) build Java part: bazel build //java:all

So i think it has no effect on anything now.

Was this page helpful?
0 / 5 - 0 ratings