You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scripts/wheelbuilder/README.md
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,15 @@
1
1
# Scripts to build wheels for GraalPy.
2
2
3
-
[GraalPy](https://github.com/oracle/graalpython) is compatible with many Python libraries, including those that extend the Python runtime with native code.
4
-
However, implemented in Java and thus binary incompatible with existing extensions, users of native Python extension libraries such as NumPy, SciPy, or PyTorch have to build their own binaries when installing these libraries if neither the project nor the GraalPy team provides prebuilt wheels.
5
-
For many libraries, this means installing additional build dependencies and sitting through long and resource-intensive compilation processes.
3
+
[GraalPy](https://github.com/oracle/graalpython) is compatible with many Python libraries, including those that extend
4
+
the Python runtime with native code.
5
+
However, implemented in Java and thus binary incompatible with existing extensions, users of native Python extension
6
+
libraries such as NumPy, SciPy, or PyTorch have to build their own binaries when installing these libraries if neither
7
+
the project nor the GraalPy team provides prebuilt wheels.
8
+
For many libraries, this means installing additional build dependencies and sitting through long and resource-intensive
9
+
compilation processes.
6
10
7
-
This project is meant to be a place for the community to collect build recipes for as many popular packages as possible that can then be built individually or in CI/CD systems like GitHub Actions.
11
+
This project is meant to be a place for the community to collect build recipes for as many popular packages as possible
12
+
that can then be built individually or in CI/CD systems like GitHub Actions.
8
13
9
14
## Quickstart
10
15
@@ -28,10 +33,12 @@ We collect simple build scripts per platform and package in the `linux`, `darwin
28
33
The format is simply the package name followed by `.sh` for macOS and Linux or `.bat` for Windows.
29
34
An additional component can be added in between the name and the extension.
30
35
This file is then only run if the process environment contains a variable matching the middle component.
31
-
That can be useful to put things like package installations specific to GitHub Actions while keeping the main build script generic for other platforms.
36
+
That can be useful to put things like package installations specific to GitHub Actions while keeping the main build
37
+
script generic for other platforms.
32
38
33
39
## How to run this
34
40
35
41
Just run the `build_wheels.py` script.
36
42
It expects a URL to download the GraalPy release from.
37
-
You can set the environment variable `PACKAGES_TO_BUILD` to a comma-separated list of package build scripts you want to consider.
43
+
You can set the environment variable `PACKAGES_TO_BUILD` to a comma-separated list of package build scripts you want to
0 commit comments