beehive-lab / TornadoVM

TornadoVM: A practical and efficient heterogeneous programming framework for managed languages
https://www.tornadovm.org
Apache License 2.0
1.18k stars 112 forks source link

[install] Temurin binary configuration added #301

Closed jjfumero closed 9 months ago

jjfumero commented 9 months ago

Description

This PR adds the Eclipse Temurin configuration as an option to install using the TornadoVM installer.

Backend/s tested

Mark the backends affected by this PR.

OS tested

Mark the OS where this PR is tested.

Did you check on FPGAs?

If it is applicable, check your changes on FPGAs.

How to test the new patch?

$ ./bin/tornadovm-installer --jdk temurin-jdk-21 --backend=opencl
$ source setvars.sh
$ tornado -version
openjdk version "21.0.1" 2023-10-17 LTS
OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS)
OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode)

$ make tests

I also tested the script on Mac OSx with Apple M2.