1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/graalvm/graalvm.conf
3 # Copyright (C) 2022 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License version 2.
10 # --- T2-COPYRIGHT-NOTE-END ---
14 tar -xf ../archdir/mx-*.tar.*
15 eval var_append PATH ':' "$PWD/mx-*"
18 # Create dummy Git repository
19 # Note: this is needed for mx
23 git config user.name "T2 Project"
24 git config user.email "t2@t2-project.org"
25 git commit -m "$pkg $ver"
28 # Note: Sulong and Esperesso not enabled, because Sulong build fails
29 export JAVA_HOME=$root/opt/java
38 mkdir -p $root/opt/java/graalvm
39 cp -Rv vm/latest_graalvm_home/* $root/opt/java/graalvm/
42 # Note: mx is needed to build additional GraalVM componenets
43 mkdir -p $root/opt/java/graalvm/mx
44 cp -Rv mx-*/* $root/opt/java/graalvm/mx/
47 hook_add premake 2 build
48 hook_add postmake 2 install