Mercurial > hg > graal-compiler
view domake @ 1470:ef7761803480
Fixes to get running again after C1X changes to pointer maps and register configuration.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Tue, 23 Nov 2010 15:45:45 +0100 |
parents | c0de7306803c |
children | 1f81c0d18c75 |
line wrap: on
line source
#!/bin/bash test -n "$JRE7" || { echo "Need to set JRE7 environment variable to the base of a JRE 1.7"; exit 1; } # Resolve location of this script me="${BASH_SOURCE[0]}" while [ -h "$me" ]; do me=`readlink -e "$me"` done graal_home=$(cd `dirname $me`; pwd) grep '-client KNOWN' $JRE7/lib/amd64/jvm.cfg >/dev/null if [ $? -ne 0 ] ; then echo "The setting for -client in $JRE7/lib/amd64/jvm.cfg must be:" echo echo " -client KNOWN" echo exit 1 fi java_link="$graal_home/c1x4hotspotsrc/hotspot/java" if [ ! -e $java_link ]; then echo "Creating link: $java_link -> $JRE7/bin/java" ln -s $JRE7/bin/java $java_link fi pushd $graal_home/make ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk/ LANG=C ARCH_DATA_MODEL=64 HOTSPOT_BUILD_JOBS=2 make jvmg1 echo "Copying binaries to JRE7 directory $JRE7" cp ../build/linux/linux_amd64_compiler1/jvmg/libjvm.so $JRE7/lib/amd64/client cp ../build/linux/linux_amd64_compiler1/jvmg/libjsig.so $JRE7/lib/amd64/client popd