docs: Update development documentation#202
Conversation
| cd graal/vm # Change to the GraalVM folder | ||
| mx --dy trufflesqueak,/graal-nodejs,/compiler build | ||
| mx --dy trufflesqueak,/graal-nodejs,/compiler graalvm-home # print path to $GRAALVM_HOME | ||
| export GRAALVM_HOME=$(mx --dy trufflesqueak,/graal-nodejs,/compiler graalvm-home) |
There was a problem hiding this comment.
When trying out GraalPy we had issues with differing BouncyCastle library versions, which (at least) I fixed by locally changing the BouncyCastle related stuff in mx.trufflesqueak/suite.py. @antonykamp is this also sth. we should add here? 🙂
There was a problem hiding this comment.
I remember that issue! There was a version mismatch.
As far as I remember, @fniephaus wanted to resolve the issue by aligning the version BouncyCastle version.
I don't see a reason to add this here 🙃 Maybe we should add an issue instead.
| 4. Run `$GRAALVM_HOME/bin/trufflesqueak` | ||
|
|
||
| Or second, you can build other languages from source. For this, please refer to the [instructions for building custom GraalVM distributions][graalvm_vm_readme]. As an example, here is how to build a GraalVM with the Graal compiler, TruffleSqueak, the GraalVM Updater, and GraalVM's Node.js runtime: | ||
| You build TruffleSqueak and other languages from source. For this, please refer to the [instructions for building custom GraalVM distributions][graalvm_vm_readme]. As an example, here is how to build a GraalVM with the Graal compiler, TruffleSqueak and GraalVM's Node.js runtime: |
There was a problem hiding this comment.
I think we should add that it is important that all Truffle languages should be built with the same underlying graal branch (e.g. origin/github/patches/24.2.0) in order to avoid inconsistencies and compatibility issues.
There was a problem hiding this comment.
Great idea! I guess it depends wether the patch is permanent or intermediate.
@fniephaus Is the patch permanent?
There was a problem hiding this comment.
The patch is unfortunately permanent (we most likely have one per graal branch).
Co-authored-by: Oliver Heß <68427341+Olliwehr@users.noreply.github.com>
|
TruffleSqueak is now compiled as an unchained standalone. GraalVM has to be used as JDK. |
b0f0548 to
750c1b6
Compare
This change includes updates to the development documentation:
mx fetch