Mercurial > hg > graal-compiler
view domake @ 1442:50ff0b5b971b
Improved exception reporting after exception in compileMethod.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Wed, 03 Nov 2010 16:58:50 +0100 |
parents | f8ab19e5acae |
children | 5f1100e1cb12 |
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 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 pushd $(dirname "$me")/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