X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Makefile;h=ae467327ad2b0efc75375e0ff69e135e9a8bd804;hb=e92c05246edb4f4001de61d3ad0bf76e75787ba0;hp=3b64f3bd1de72c7e03bdb103b05786c2d153bdd3;hpb=3175eeed074a015d5621de59c0fa877d4efe5112;p=nestedvm.git diff --git a/Makefile b/Makefile index 3b64f3b..ae46732 100644 --- a/Makefile +++ b/Makefile @@ -227,6 +227,13 @@ compact_runtime_compiler.jar: $(java_classes) .manifest $(tasks)/build_darcs_gcc 'org.ibex.nestedvm.Runtime$$CPUState.dup' cd tmp/pruned && jar cfm ../../$@ ../../.manifest . +sizecheck: compact_runtime_compiler.jar + @for c in `find tmp/pruned -name '*.class'|fgrep -v '$$'`; do \ + for f in `echo $$c|sed 's,\.class$$,,;'`*.class; do gzip -c $$f; done | wc -c | tr -d '\n'; \ + echo -e "\t`echo $$c | sed 's,tmp/pruned/org/ibex,,;s,\.class$$,,;s,/,.,g;'`"; \ + done | sort -rn | awk '{ sum += $$1; print } END { print sum,"Total"; }' + + # This is only for Brian to use... don't mess with it rebuild-constants: $(tasks)/build_libc @mkdir -p `dirname $@` @@ -432,6 +439,23 @@ compiletests: $(patsubst %,build/tests/%.class,FTBench MSPackBench DJpeg Test Fr @true +# +# Darcs stuff +# + +commit: + @if [ -d _darcs ]; then darcs push; \ + else echo "You need darcs to commit"; false; \ + fi + +update: + @if [ -d _darcs ]; then darcs pull; \ + else wget -nH -rl 16 -N -X _darcs http://nestedvm.darcs.brianweb.net; \ + fi + +# +# Paper stuff +# charts := $(shell find doc/charts -name \*.dat) # IVME Paper