]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - htsn-import.cabal
Update makefile/cabalfile with better profiling support.
[dead/htsn-import.git] / htsn-import.cabal
index ab5bb7c13ae11e033f4aa7d1de62507b1802ff90..235c9d1fd413eadd834213edd849382d6b7c2e42 100644 (file)
@@ -123,8 +123,13 @@ executable htsn-import
 
   ghc-prof-options:
     -prof
-    -auto-all
-    -caf-all
+    -fprof-auto
+    -fprof-cafs
+    -- The following unbreak profiling with template haskell. We have
+    -- to build the program twice; once without profile and again with
+    -- these flags.
+    -hisuf hi_p
+    -osuf o_p
 
 
 test-suite testsuite