Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Expanded profiling options for GHC.

Just in case there could be conflict with libraries compiled normal way,
we add "-osuf=p_o", "-hisuf=p_o" when recompiling our configuration file.
  • Loading branch information...
commit 8cb0e028b6284e9d387021085eaf88b79ae4f2ef 1 parent bf1b25f
Michal J. Gajda authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  yi/src/library/Yi/Boot.hs
2  yi/src/library/Yi/Boot.hs
View
@@ -56,7 +56,7 @@ yiDriver cfg = do
, Dyre.hidePackages = ["mtl"]
, Dyre.ghcOpts = (["-threaded", "-O2"] ++
#ifdef PROFILING
- ["-prof", "-auto-all", "-rtsopts"] ++
+ ["-prof", "-auto-all", "-rtsopts", "-osuf=p_o", "-hisuf=p_hi"] ++
#endif
ghcOptions cfgcon)
}
Please sign in to comment.
Something went wrong with that request. Please try again.