Mercurial > hg > graal-jvmci-8
comparison domake @ 1467:c0de7306803c
Renaming: hsx -> graal.
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 19 Nov 2010 00:26:31 +0100 |
parents | 5f1100e1cb12 |
children | 1f81c0d18c75 |
comparison
equal
deleted
inserted
replaced
1466:243c729b5ded | 1467:c0de7306803c |
---|---|
5 # Resolve location of this script | 5 # Resolve location of this script |
6 me="${BASH_SOURCE[0]}" | 6 me="${BASH_SOURCE[0]}" |
7 while [ -h "$me" ]; do | 7 while [ -h "$me" ]; do |
8 me=`readlink -e "$me"` | 8 me=`readlink -e "$me"` |
9 done | 9 done |
10 hsx_home=$(cd `dirname $me`; pwd) | 10 graal_home=$(cd `dirname $me`; pwd) |
11 | 11 |
12 grep '-client KNOWN' $JRE7/lib/amd64/jvm.cfg >/dev/null | 12 grep '-client KNOWN' $JRE7/lib/amd64/jvm.cfg >/dev/null |
13 if [ $? -ne 0 ] ; then | 13 if [ $? -ne 0 ] ; then |
14 echo "The setting for -client in $JRE7/lib/amd64/jvm.cfg must be:" | 14 echo "The setting for -client in $JRE7/lib/amd64/jvm.cfg must be:" |
15 echo | 15 echo |
16 echo " -client KNOWN" | 16 echo " -client KNOWN" |
17 echo | 17 echo |
18 exit 1 | 18 exit 1 |
19 fi | 19 fi |
20 | 20 |
21 java_link="$hsx_home/c1x4hotspotsrc/hotspot/java" | 21 java_link="$graal_home/c1x4hotspotsrc/hotspot/java" |
22 if [ ! -e $java_link ]; then | 22 if [ ! -e $java_link ]; then |
23 echo "Creating link: $java_link -> $JRE7/bin/java" | 23 echo "Creating link: $java_link -> $JRE7/bin/java" |
24 ln -s $JRE7/bin/java $java_link | 24 ln -s $JRE7/bin/java $java_link |
25 fi | 25 fi |
26 | 26 |
27 pushd $hsx_home/make | 27 pushd $graal_home/make |
28 ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk/ LANG=C ARCH_DATA_MODEL=64 HOTSPOT_BUILD_JOBS=2 make jvmg1 | 28 ALT_BOOTDIR=/usr/lib/jvm/java-6-openjdk/ LANG=C ARCH_DATA_MODEL=64 HOTSPOT_BUILD_JOBS=2 make jvmg1 |
29 echo "Copying binaries to JRE7 directory $JRE7" | 29 echo "Copying binaries to JRE7 directory $JRE7" |
30 cp ../build/linux/linux_amd64_compiler1/jvmg/libjvm.so $JRE7/lib/amd64/client | 30 cp ../build/linux/linux_amd64_compiler1/jvmg/libjvm.so $JRE7/lib/amd64/client |
31 cp ../build/linux/linux_amd64_compiler1/jvmg/libjsig.so $JRE7/lib/amd64/client | 31 cp ../build/linux/linux_amd64_compiler1/jvmg/libjsig.so $JRE7/lib/amd64/client |
32 popd | 32 popd |