Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update installation instructions to include bazel and remove outdated… #4171

Merged
merged 6 commits into from
Feb 27, 2019

Conversation

robertnishihara
Copy link
Collaborator

This fixes #4146.

sudo apt-get install -y build-essential curl unzip psmisc python # we install python here because python2 is required to build the webui

# Install Bazel.
./ci/travis/install-bazel.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only works once ray is cloned and once we cd'ed into the ray directory.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, should be fixed now. Thanks!

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/12318/
Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/12328/
Test FAILed.

@@ -63,23 +65,20 @@ For Ubuntu, run the following commands:
.. code-block:: bash

sudo apt-get update
sudo apt-get install -y 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 build-essential curl unzip psmisc python # we install python here because python2 is required to build the webui
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ubuntu 14.04 also needs "git" here, but it's probably fine to not include that


# 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ubuntu 14.04 needs "sudo" here for the system python, but it's probably ok to assume people can figure that out (the error message is good enough)

Copy link
Contributor

@pcmoritz pcmoritz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with: Ubuntu 14.04 with Anaconda python 3.7, 16.04 with anaconda python 2.7, 18.04 with anaconda python 3.7

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/12335/
Test FAILed.

@pcmoritz pcmoritz merged commit 641f703 into ray-project:master Feb 27, 2019
@robertnishihara robertnishihara deleted the installationdoc branch January 7, 2020 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update installation docs to describe how to build Ray with Bazel.
3 participants