mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
[docs] Update docs for building from source (#26045)
The existing docs didn't work for me and these updates did. 🤷♀️ I selectively pulled this stuff out of the CI (which ideally would just be runnable locally).
This commit is contained in:
parent
079ae9f013
commit
146f65ba7a
1 changed files with 12 additions and 1 deletions
|
@ -142,12 +142,23 @@ To build Ray on Ubuntu, run the following commands:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
# Add a PPA containing gcc-9 for older versions of Ubuntu.
|
||||
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y build-essential curl unzip psmisc
|
||||
sudo apt-get install -y build-essential curl gcc-9 g++-9 pkg-config psmisc unzip
|
||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 \
|
||||
--slave /usr/bin/g++ g++ /usr/bin/g++-9 \
|
||||
--slave /usr/bin/gcov gcov /usr/bin/gcov-9
|
||||
|
||||
# Install Bazel.
|
||||
ci/env/install-bazel.sh
|
||||
|
||||
# Install node version manager and node 14
|
||||
$(curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh)
|
||||
nvm install 14
|
||||
nvm use 14
|
||||
|
||||
|
||||
For RHELv8 (Redhat EL 8.0-64 Minimal), run the following commands:
|
||||
|
||||
.. code-block:: bash
|
||||
|
|
Loading…
Add table
Reference in a new issue