Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: compiler/scripts/build_dartc_for_perf_metrics

Issue 8384005: New location for dartc_*.sh is Release_ia32 now that --mode is removed from (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | compiler/scripts/compiler_compare.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # 2 #
3 # Produce a build of dartc that can be used to measure its performance over 3 # Produce a build of dartc that can be used to measure its performance over
4 # time. This script needs to be backwards compatible with earlier 4 # time. This script needs to be backwards compatible with earlier
5 # revisions. 5 # revisions.
6 # 6 #
7 # TODO: Still need to handle revisions between r2694 and r2764. 7 # TODO: Still need to handle revisions between r2694 and r2764.
8 # 8 #
9 DARTC_REVISION=$1 9 DARTC_REVISION=$1
10 USERNAME=$2 10 USERNAME=$2
(...skipping 18 matching lines...) Expand all
29 rc=$? 29 rc=$?
30 if [ $rc -ne 0 ]; then 30 if [ $rc -ne 0 ]; then
31 exit $rc 31 exit $rc
32 fi 32 fi
33 33
34 # Give the metrics system a backwards compatible way of getting to the 34 # Give the metrics system a backwards compatible way of getting to the
35 # artifacts that it needs. 35 # artifacts that it needs.
36 cd .. 36 cd ..
37 mkdir -p prebuilt 37 mkdir -p prebuilt
38 cd prebuilt 38 cd prebuilt
39 COMPILER_OUTDIR=../compiler/out/Release_dartc 39 COMPILER_OUTDIR=../compiler/out/Release_ia32
40 cp -r $COMPILER_OUTDIR/compiler ./compiler 40 cp -r $COMPILER_OUTDIR/compiler ./compiler
41 GENERATED_SCRIPT_DIR=obj.target/geni/dartc 41 GENERATED_SCRIPT_DIR=obj.target/geni/dartc
42 PATH_TO_METRICS_SCRIPT=$COMPILER_OUTDIR/$GENERATED_SCRIPT_DIR 42 PATH_TO_METRICS_SCRIPT=$COMPILER_OUTDIR/$GENERATED_SCRIPT_DIR
43 cp -r $PATH_TO_METRICS_SCRIPT/dartc_run.sh . 43 cp -r $PATH_TO_METRICS_SCRIPT/dartc_run.sh .
44 cp -r $PATH_TO_METRICS_SCRIPT/dartc_size.sh . 44 cp -r $PATH_TO_METRICS_SCRIPT/dartc_size.sh .
45 cp $COMPILER_OUTDIR/d8 . 45 cp $COMPILER_OUTDIR/d8 .
46 if [ -e $PATH_TO_METRICS_SCRIPT/dartc_metrics.sh ]; then 46 if [ -e $PATH_TO_METRICS_SCRIPT/dartc_metrics.sh ]; then
47 cp $PATH_TO_METRICS_SCRIPT/dartc_metrics.sh . 47 cp $PATH_TO_METRICS_SCRIPT/dartc_metrics.sh .
48 fi 48 fi
49 49
OLDNEW
« no previous file with comments | « no previous file | compiler/scripts/compiler_compare.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698