Install GHC from source with profiling build of base

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Install GHC from source with profiling build of base

Andrew Martin
When I build GHC from source, I can see a bunch of .p_hi files under libraries/base. This makes sense given that the default for GhcLibWays is "v p". But when I run "make install" all the profiling stuff gets stripped out:

amartin@thadtop:~/.local/lib/ghc-8.9.0.20190628$ find . | grep -o '\.[^./0-9]*$' | sort -u
.
.a
.cache
.conf
.d
.dyn_hi
.h
.hi
.lock
.o
.so
.txt

Not a profiling-related artifact in sight. And this local build rightfully fails to build anything with profiling turned on. So, how do I actually install the profiling builds of the wired in libraries?

--
-Andrew Thaddeus Martin

_______________________________________________
Libraries mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries