From 1117f5ba2710c4e8832b8f1beebe74445d6e4ff1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 14 Apr 2013 17:03:41 -0400 Subject: [PATCH] avoid displaying splices on the console during build There are some insanely large ones, and that was just not nice. Downside is all warnings and errors are also not shown during the native part of the build (but the cross build will still show any it has). --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index be187ff709..d9396e05a3 100644 --- a/Makefile +++ b/Makefile @@ -161,15 +161,15 @@ osxapp: Build/Standalone Build/OSXMkLibs # Cross compile for Android. # Uses https://github.com/neurocyte/ghc-android android: Build/EvilSplicer - echo "Native build, to get TH splices.." + echo "Running native build, to get TH splices.." $(CABAL) configure -f"-Production" -O0 - $(CABAL) build -v2 --ghc-options=-ddump-splices 2>&1 | tee dist/caballog + $(CABAL) build --ghc-options=-ddump-splices 2> dist/dump-splices mkdir -p tmp rsync -az --delete --exclude tmp . tmp/androidtree cd tmp/androidtree && $(MAKE) android-stage2 android-stage2: Build/EvilSplicer - ./Build/EvilSplicer tmp/splices dist/caballog standalone/android/evilsplicer-headers.hs + ./Build/EvilSplicer tmp/splices dist/dump-splices standalone/android/evilsplicer-headers.hs # Copy the files with expanded splices to the source tree, but # only if the existing source file is not newer. (So, if a file # used to have TH splices but they were removed, it will be newer,