R3Conclave / graal-patches

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Graal Patches

This repo maintains changes made to GraalVM to get it working with Conclave and Intel SGX. As such this repo does not contain GraalVM itself, but rather contains modifications as patch files. GraalVM is required for use and will be downloaded as part of the build process.

Project structure

Directory Description
docker/ Contains the Dockerfile used to generate the Docker image required to build Graal without having to worry about installing any required tools in your system.
graal-sdk/ Contains the build.gradle file used to generate the artifact graal-sdk.jar
graalvm/ Container the build.gradle file used to generate the artifact graalvm.tar.gz
patches/ Contains the modifications to GraalVM as patch files.
scripts/ Contains all the scripts that are required to build the artifact graalvm.tar.gz.

Building graalvm and graal-sdk

Before building the artifacts graalvm, and graal-sdk, keep in mind that this project will clone GraalVM, apply a patch to the cloned repository, and then build graalvm.tar.gz, andgraal-sdk.jar.

Follow the instructions below to build graalvm.tar.gz, andgraal-sdk.jar using the scripts:

./scripts/build_publish_docker_images.sh
./scripts/build.sh

You can also start a shell inside the Docker container to build the artifacts manually:

./scripts/devenv_shell.sh
./gradlew publishMavenPublicationToBuildRepository

The artifacts can be found in the directory graalvm/build/repo, and graal-sdk/build/repo, respectively.

License

The changes made to GraalVM in this repository are open source and distributed under version 2 of the GNU General Public License with the “Classpath” Exception.

About

License:Other


Languages

Language:Shell 82.2%Language:Dockerfile 17.8%