comparison runbootstrap.sh @ 2901:d577d07cedec

Added time measurement for phases.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Wed, 08 Jun 2011 17:01:16 +0200
parents 5af7b38be963
children 344264424174
comparison
equal deleted inserted replaced
2897:be276884eec0 2901:d577d07cedec
1 #!/bin/bash 1 #!/bin/bash
2 if [ -z "${JDK7}" ]; then 2 if [ -z "${JDK7}" ]; then
3 echo "JDK7 is not defined." 3 echo "JDK7 is not defined."
4 exit 1;
5 fi
6 if [ -z "${JDK7G}" ]; then
7 echo "JDK7G is not defined."
8 exit 1; 4 exit 1;
9 fi 5 fi
10 if [ -z "${MAXINE}" ]; then 6 if [ -z "${MAXINE}" ]; then
11 echo "MAXINE is not defined. It must point to a maxine repository directory." 7 echo "MAXINE is not defined. It must point to a maxine repository directory."
12 exit 1; 8 exit 1;
13 fi 9 fi
14 if [ -z "${GRAAL}" ]; then 10 if [ -z "${GRAAL}" ]; then
15 echo "GRAAL is not defined. It must point to a maxine repository directory." 11 echo "GRAAL is not defined. It must point to a maxine repository directory."
16 exit 1; 12 exit 1;
17 fi 13 fi
18 ${JDK7}/bin/java -client -d64 -graal -version 14 ${JDK7}/bin/java -client -d64 -graal $* -version
19 ${JDK7G}/bin/java -client -d64 -graal -version