Mercurial > hg > truffle
view domake @ 1440:4d1d3bd140f9
Updated for changes in CRI.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Mon, 01 Nov 2010 23:50:37 +0100 |
parents | d0c8d3a2a7e8 |
children | f8ab19e5acae |
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 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