mirror of
https://github.com/wassname/ray.git
synced 2026-08-09 12:20:09 +08:00
Add script for building MacOS wheels. (#601)
* Add script for building MacOS wheels. * Small cleanups to script. * Fix setting of PATH before building wheel. * Create symbolic link to correct Python executable so Ray installation finds the right Python. * Address comments. * Rename readme.
This commit is contained in:
committed by
Philipp Moritz
parent
b94b4a35e0
commit
bcaab78908
@@ -0,0 +1,26 @@
|
||||
# Building manylinux1 wheels
|
||||
|
||||
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 --rm -w /ray -v `pwd`:/ray -ti quay.io/xhochy/arrow_manylinux1_x86_64_base:ARROW-1024 /ray/python/build-wheel-manylinux1.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.
|
||||
Reference in New Issue
Block a user