make test
profile: edu.berkeley.sbp.jar
- $(java) -agentlib:yjpagent \
- -cp $< edu.berkeley.sbp.misc.RegressionTests \
- -profile \
+ $(java) -cp $< edu.berkeley.sbp.misc.RegressionTests \
+ -profile -agentlib:yjpagent \
tests/meta.g \
tests/testcase.g \
tests/regression.tc
ghcroot = /usr/local/brian/ghc
-ghc = $(ghcroot)/compiler/ghc-inplace
+ghc = $(ghcroot)/compiler/ghc-inplace -fallow-undecidable-instances -fallow-overlapping-instances
ghclibs = $(ghcroot)/rts/HSrts.jar:$(ghcroot)/libraries/base/HSbase.jar:$(ghcroot)/libraries/stm/HSstm.jar
bin/Main.class: src/Main.lhs src/SBP.lhs
cd src; $(ghc) -fglasgow-exts -cpp -odir ../bin -c -java SBP.lhs
cd src; $(ghc) -fglasgow-exts -cpp -odir ../bin -java Main.lhs
+#profile=-agentlib:yjpagent
go: bin/Main.class edu.berkeley.sbp.jar
- java -cp bin:$(ghclibs):edu.berkeley.sbp.jar Main
\ No newline at end of file
+ java $(profile) -cp bin:$(ghclibs):edu.berkeley.sbp.jar Main
\ No newline at end of file