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: docs/contributor/CONTRIBUTING.md
+13-11Lines changed: 13 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -13,21 +13,23 @@ The first thing you want to do is to set up [`mx`](https://github.com/graalvm/mx
13
13
This is the build tool we use to develop GraalVM languages.
14
14
Note that you can use any JDK, and do not need GraalVM for development.
15
15
In that case you'll only be able to run without the just-in-time compiler, but that can be fine for making and testing changes that are not performance sensitive.
16
+
You can also download a suitable JDK using mx:
17
+
```bash
18
+
mx fetch-jdk
19
+
```
20
+
Make sure that the `JAVA_HOME` environment variable is set.
16
21
17
-
Once you have `mx` on your `PATH`, you can run `mx build` in this repository.
18
-
This will initially download the required dependencies next to the repository and build Python.
19
-
If it succeeds without errors, you should already be able to run `mx python` and get a REPL.
20
-
21
-
If you just want to copy and paste some commands, these should get you started:
22
-
22
+
For building GraalPy, you will also need some native build tools and libraries. On a Debian based system, install:
Lastly, download maven, extract it and include it on your `PATH`.
28
+
29
+
Once you have all the necessary tools, you can run `mx build` in this repository.
30
+
This will initially download the required dependencies next to the repository and build Python.
31
+
If it succeeds without errors, you should already be able to run `mx python` and get a REPL.
32
+
31
33
For development, we recommend running `mx ideinit` next.
32
34
This will generate configurations for Eclipse, IntelliJ, and NetBeans so that you can open the projects in these IDEs.
33
35
If you use another editor with support for the [Eclipse language server](https://github.com/eclipse/eclipse.jdt.ls) we have also had reports of useable development setups with that, but it's not something we support.
0 commit comments