[erlang-questions] Dialyzer to cache Hipe compilation

Tuncer Ayaz tuncer.ayaz@REDACTED
Tue Jun 12 23:50:02 CEST 2012


On Tue, Jun 12, 2012 at 10:01 PM, Magnus Henoch wrote:
> Hi all,
>
> I finally decided to try to do something about Dialyzer's startup time,
> as it's compiling modules to native code for about a minute on my machine.
>
> The results are here:
> https://github.com/legoscia/otp/compare/dialyzer-hipe-cache
> git clone -b dialyzer-hipe-cache https://github.com/legoscia/otp.git
>
> The only changed files are dialyzer_cl.erl and hipe.erl; you can compile
> them manually and copy them into the appropriate ebin directories.  This
> makes Dialyzer cache the compiled modules into ~/.dialyzer_hipe_cache
> the first time it's run.
>
> There's probably a nicer solution to this, like building the modules in
> question at install time, but this hack seems to work for me... Feedback
> is very welcome.

Have you tried building with --enable-native-libs?



More information about the erlang-questions mailing list