mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 03:08:48 +08:00
Update installation instructions to include bazel and remove outdated… (#4171)
This commit is contained in:
committed by
Philipp Moritz
parent
d583edb07c
commit
641f703879
@@ -17,22 +17,19 @@ For Ubuntu users, run the following commands:
|
||||
::
|
||||
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y maven cmake pkg-config build-essential autoconf curl libtool unzip flex bison psmisc python # we install python here because python2 is required to build the webui
|
||||
sudo apt-get install -y maven build-essential curl unzip psmisc python # we install python here because python2 is required to build the webui
|
||||
|
||||
# If you are not using Anaconda, you need the following.
|
||||
sudo apt-get install python-dev # For Python 2.
|
||||
sudo apt-get install python3-dev # For Python 3.
|
||||
|
||||
# If you are on Ubuntu 14.04, you need the following.
|
||||
pip install cmake
|
||||
|
||||
pip install cython==0.29.0
|
||||
|
||||
For macOS users, run the following commands:
|
||||
::
|
||||
|
||||
brew update
|
||||
brew install maven cmake pkg-config automake autoconf libtool openssl bison wget
|
||||
brew install maven wget
|
||||
|
||||
pip install cython==0.29.0
|
||||
|
||||
@@ -45,6 +42,9 @@ Then we can start building Ray with the following commands:
|
||||
git clone https://github.com/ray-project/ray.git
|
||||
cd ray
|
||||
|
||||
# Install Bazel.
|
||||
ci/travis/install-bazel.sh
|
||||
|
||||
# build native components
|
||||
./build.sh -l java
|
||||
|
||||
|
||||
Reference in New Issue
Block a user