mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00

* necessary changes * Split bazel install * manylinux2014 * change references to manylinux2014 * Fix lint * port alex's docker build changes * fix config issue * remove extra manylinux2010 requirement script * revert SHA overwrite * wip * incompatible_linklibs * fix nits
26 lines
876 B
Markdown
26 lines
876 B
Markdown
# Building manylinux2014 wheels
|
|
|
|
**WARNING:** To cause everything to be rebuilt, this script will delete ALL changes to the
|
|
repository, including both changes to tracked files, and ANY untracked files.
|
|
|
|
It will also cause all files inside the repository to be owned by root, and
|
|
produce .whl files owned by root.
|
|
|
|
Inside the root directory (i.e., one level above this python directory), run
|
|
|
|
```
|
|
docker run -e TRAVIS_COMMIT=<commit_number_to_use> --rm -w /ray -v `pwd`:/ray -ti quay.io/pypa/manylinux2014_x86_64 /ray/python/build-wheel-manylinux2014.sh
|
|
```
|
|
|
|
The wheel files will be placed in the .whl directory.
|
|
|
|
## Building MacOS wheels
|
|
|
|
To build wheels for MacOS, run the following inside the root directory (i.e.,
|
|
one level above this python directory).
|
|
|
|
```
|
|
./python/build-wheel-macos.sh
|
|
```
|
|
|
|
The script uses `sudo` multiple times, so you may need to type in a password.
|