diff --git a/recipe/build-core.bat b/recipe/build-core.bat index c0819940..f04bfdb9 100644 --- a/recipe/build-core.bat +++ b/recipe/build-core.bat @@ -1,5 +1,6 @@ cd python set SKIP_THIRDPARTY_INSTALL=1 +set RAY_INSTALL_JAVA=1 set IS_AUTOMATED_BUILD=1 set "BAZEL_SH=%BUILD_PREFIX%\Library\usr\bin\bash.exe" "%PYTHON%" setup.py install diff --git a/recipe/build-core.sh b/recipe/build-core.sh index 6931b017..173e9392 100644 --- a/recipe/build-core.sh +++ b/recipe/build-core.sh @@ -3,6 +3,7 @@ set -xe cd python/ export SKIP_THIRDPARTY_INSTALL=1 +export RAY_INSTALL_JAVA=1 "${PYTHON}" setup.py build # bazel by default makes everything read-only, # which leads to patchelf failing to fix rpath in binaries. diff --git a/recipe/meta.yaml b/recipe/meta.yaml index a56e6d7e..b23926fb 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -16,7 +16,7 @@ source: build: - number: 0 + number: 1 # skip on MacOS as there's some weird compilation issue and I have no MacOS to develop on skip: true # [osx] @@ -31,6 +31,8 @@ requirements: - make - m2-patch # [win] - python + - openjdk =11 + - maven outputs: - name: ray-all diff --git a/recipe/yum_requirements.txt b/recipe/yum_requirements.txt index 651811b7..72dfd8f2 100644 --- a/recipe/yum_requirements.txt +++ b/recipe/yum_requirements.txt @@ -4,3 +4,4 @@ libselinux libXdamage libXxf86vm libXext +unzip