mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-27 22:08:27 +00:00
@@ -39,10 +39,11 @@ PATH="$PATH:$PWD/mx-%mxver"
|
||||
%dnl JAVA_HOME=$PWD/openjdk1.8.0_302-jvmci-%jvmci-fastdebug
|
||||
cd graal/vm
|
||||
# we can only access macro buildroot in install section
|
||||
JAVA_HOME=%buildroot/usr/lib/jvm$(alternatives --list | grep jre_1.8.0_openjdk | sed -E 's@.+?/@/@g') mx --env ce build &
|
||||
JAVA_HOME=%buildroot/usr/lib/jvm$(alternatives --list | grep jre_11_openjdk | sed -E 's@.+?/@/@g') mx --env ce build &
|
||||
JAVA_HOME=%buildroot/usr/lib/jvm$(alternatives --list | grep jre_17_openjdk | sed -E 's@.+?/@/@g') mx --env ce build &
|
||||
JAVA_HOME=%buildroot/usr/lib/jvm$(alternatives --list | grep jre_20_openjdk | sed -E 's@.+?/@/@g') mx --env ce build &
|
||||
%define javahome() JAVA_HOME=%buildroot/usr/lib/jvm$(alternatives --list | grep jre_%1 | sed -E 's@.+?/@/@g' | grep -)
|
||||
%{javahome 1.8.0} mx --env ce build &
|
||||
%{javahome 11} mx --env ce build &
|
||||
%{javahome 17} mx --env ce build &
|
||||
%{javahome 20} mx --env ce build &
|
||||
|
||||
wait
|
||||
|
||||
|
||||
Reference in New Issue
Block a user