This commit is contained in:
windowsboy111
2023-07-20 14:51:56 +08:00
parent b52b9e3da2
commit 3744c62071
+8 -6
View File
@@ -32,19 +32,21 @@ cd ..
tar xf %SOURCE1
%dnl tar xf %SOURCE2
%build
%install
PATH="$PATH:$PWD/mx-%mxver"
%dnl JAVA_HOME=$PWD/openjdk1.8.0_302-jvmci-%jvmci-fastdebug
cd graal/vm
JAVA_HOME=/usr/lib/jvm/$(alternatives --list | grep jre_1.8.0_openjdk | sed -E 's@.+?/@/@g') mx --env ce build &
JAVA_HOME=/usr/lib/jvm/$(alternatives --list | grep jre_11_openjdk | sed -E 's@.+?/@/@g') mx --env ce build &
JAVA_HOME=/usr/lib/jvm/$(alternatives --list | grep jre_17_openjdk | sed -E 's@.+?/@/@g') mx --env ce build &
JAVA_HOME=/usr/lib/jvm/$(alternatives --list | grep jre_20_openjdk | sed -E 's@.+?/@/@g') mx --env ce build &
# 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 &
wait
%install
ls -alh graal/vm