Permalink
Browse files

Cleanup

  • Loading branch information...
1 parent b0c065c commit 250db3ef1d58a7a376f7f8130a207342a2d00f0e @joshma committed Jul 4, 2012
Showing with 0 additions and 108 deletions.
  1. +0 −3 scripts/buildandrun.sh
  2. +0 −30 scripts/cccloud.sh
  3. +0 −2 scripts/finish.sh
  4. +0 −11 scripts/ghettotest.sh
  5. +0 −4 scripts/gocloud.sh
  6. +0 −31 scripts/outcloud.sh
  7. +0 −23 scripts/starbucks.pem
  8. +0 −4 scripts/upcloud.sh
View
@@ -1,3 +0,0 @@
-ant
-java -ea -jar dist/Compiler.jar -target codegen -o $2 $1
-./scripts/cccloud.sh $2
View
@@ -1,30 +0,0 @@
-if [ -z $STARBUCKS_HOME ]; then
- echo "Need to set STARBUCKS_HOME, you probably want to run"
- echo " export STARBUCKS_HOME=\`pwd\`"
- echo "from the repo root."
- exit 1
-fi
-
-if [ $# -ne 1 ]; then
- echo "usage: `basename $0` [input.asm]"
- exit 1
-fi
-PLAYGROUND="/tmp/playground"
-HOST="ec2-50-16-79-112.compute-1.amazonaws.com"
-PEM=${STARBUCKS_HOME}/scripts/starbucks.pem
-OUTNAME="starbucks"
-
-echo "Resetting ${PLAYGROUND}"
-ssh -i ${PEM} ubuntu@${HOST} "rm ${PLAYGROUND}/*"
-
-echo "Uploading $1 to ${PLAYGROUND}"
-scp -i ${PEM} $1 ubuntu@${HOST}:${PLAYGROUND}/${OUTNAME}.s
-
-echo "Compiling, linking and running."
-echo ""
-echo "=== START OUTPUT ==="
-ssh -i ${PEM} ubuntu@${HOST} "cd ${PLAYGROUND}; nasm -felf64 -o ${OUTNAME}.o ${OUTNAME}.s; gcc -g -o ${OUTNAME} ${OUTNAME}.o; chmod +x ${OUTNAME}; ./${OUTNAME}"
-echo "==== END OUTPUT ===="
-echo ""
-#echo "Cleaning up .o files"
-#rm ${OUTNAME}.o
View
@@ -1,2 +0,0 @@
-ofile=`tempfile`
-nasm -felf64 -o $ofile tmp/$1.s; gcc -o tmp/$1 $ofile
View
@@ -1,11 +0,0 @@
-echo "GHETTO LOCAL 64 BIT TESTING";
-rm *.s;
-rm *.o;
-ant;
-java -ea -jar dist/Compiler.jar -target codegen -o $1.s tests/dataflow/input/$1.dcf;
-java -ea -jar dist/Compiler.jar -debug -target codegen -opt cm -o $1_opt.s tests/dataflow/input/$1.dcf;
-nasm -f elf64 -o $1.o $1.s;
-nasm -f elf64 -o $1_opt.o $1_opt.s;
-gcc -o $1 $1.o;
-gcc -o $1_opt $1_opt.o;
-ls tests/dataflow/input
View
@@ -1,4 +0,0 @@
-PEM=${STARBUCKS_HOME}/scripts/starbucks.pem
-HOST="ec2-50-16-79-112.compute-1.amazonaws.com"
-
-ssh -i ${PEM} ubuntu@${HOST}
View
@@ -1,31 +0,0 @@
-if [ -z $STARBUCKS_HOME ]; then
- echo "Need to set STARBUCKS_HOME, you probably want to run"
- echo " export STARBUCKS_HOME=\`pwd\`"
- echo "from the repo root."
- exit 1
-fi
-
-if [ $# -ne 2 ]; then
- echo "usage: `basename $0` [input.asm] [output]"
- exit 1
-fi
-PLAYGROUND="/tmp/playground"
-HOST="ec2-50-16-79-112.compute-1.amazonaws.com"
-PEM=${STARBUCKS_HOME}/scripts/starbucks.pem
-OUTNAME="starbucks"
-
-echo "Resetting ${PLAYGROUND}"
-ssh -i ${PEM} ubuntu@${HOST} "rm ${PLAYGROUND}/*"
-
-echo "Uploading $1 to ${PLAYGROUND}"
-scp -i ${PEM} $1 ubuntu@${HOST}:${PLAYGROUND}/${OUTNAME}.s
-
-echo "Compiling, linking and running. Binary results in" $2
-#echo ""
-#echo "=== START OUTPUT ==="
-ssh -i ${PEM} ubuntu@${HOST} "cd ${PLAYGROUND}; nasm -felf64 -o ${OUTNAME}.o ${OUTNAME}.s; gcc -g -o ${OUTNAME} ${OUTNAME}.o; chmod +x ${OUTNAME}; ./${OUTNAME}" > $2
-cat $2
-#echo "==== END OUTPUT ===="
-#echo ""
-#echo "Cleaning up .o files"
-#rm ${OUTNAME}.o
View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MZcvTyx2gqjpU5N0aGG6S1GzVHYEHNtUZ/9xR8oGq4b41sdQNbUmbXDQQ0hFetsC
-gYEAwy0T3NBO5/jAR0BWKivta3wxiofbgtKosyPrCpkyB3i0JqxWsNpOuviaustgKPNju+N4432V
-qJSS1yoNsrZTyIHuv7QUkP2bolMCI3ZaDIbP3FELBV244LkHL5VMZwic+EfkJy1knvTX8dn8uhID
-Ae77b7qNlp6ZIrtH3UOzO6kCgYB/+xGz0SCLbqXtsjjHIvyNZ5iObpi7+xDHxAjrnobGT/HGW5il
-dKOHgS8o5AqyvPY4Ksvo2B91qXFE2m97xYB1iI6dlpxL7htc/wwv11Z7krYQ3bOz3cOgKk9bFnbC
-htKte0omWIkVJIL8l2naVWjbxGXBgfn8zDdZJXzmELeVcwKBgQCfPLnfkO/MR/Ec4pwg9LP1t6K9
-q2DwnW9JuAQVLnf1NaorMx53FGt0VpA6ZB49TzJK0sRTmnigSiUIkS/9W841fqAzF7pCcLZ9AtrX
-h7DYngZldInkO9vlDy8LnMX+4SCs6V3Qqkkr9EcWO6jGBjJJ6Zohxs+cPmGyJZUPDIWNlg==
------END RSA PRIVATE KEY-----
View
@@ -1,4 +0,0 @@
-PEM=${STARBUCKS_HOME}/scripts/starbucks.pem
-HOST="ec2-50-16-79-112.compute-1.amazonaws.com"
-
-scp -i ${PEM} ${STARBUCKS_HOME}/$1 ubuntu@${HOST}:~/

0 comments on commit 250db3e

Please sign in to comment.