From: Michael Orlitzky Date: Wed, 14 Sep 2011 17:36:42 +0000 (-0400) Subject: Switch the default compiler back to GHC. X-Git-Tag: 0.0.1~132 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=15ccf02b51c72a7bb6eb098c157005a78cd3f84d;p=spline3.git Switch the default compiler back to GHC. --- diff --git a/makefile b/makefile index 82ddbdd..2110611 100644 --- a/makefile +++ b/makefile @@ -29,10 +29,10 @@ GHC_OPTS := $(OPTIMIZATIONS) \ .PHONY : test publish_doc doc src_html hlint $(BIN): src/*.hs - ghc -fllvm $(GHC_OPTS) src/*.hs + ghc -optc-O3 -optc-march=native $(GHC_OPTS) src/*.hs -gcc: src/*.hs - ghc -optc-O2 -optc-march=native $(GHC_OPTS) src/*.hs +llvm: src/*.hs + ghc -fllvm $(GHC_OPTS) src/*.hs all: $(BIN) test_src @@ -40,10 +40,10 @@ test_src: src/Tests/*.hs ghc $(GHC_OPTS) src/*.hs src/Tests/*.hs profile: src/*.hs - ghc -fllvm $(GHC_OPTS) -prof -auto-all -caf-all src/*.hs + ghc -optc-O3 -optc-march=native $(GHC_OPTS) -prof -auto-all -caf-all src/*.hs -profile-gcc: src/*.hs - ghc -optc-O2 -optc-march=native $(GHC_OPTS) -prof -auto-all -caf-all src/*.hs +profile-llvm: src/*.hs + ghc -fllvm $(GHC_OPTS) -prof -auto-all -caf-all src/*.hs clean: rm -f bin/$(BIN)