[erlang-patches] Implement ./otp_build configure --enable-silent-rules

Anthony Ramine <>
Fri Jan 11 19:09:17 CET 2013


What Automake does is define variables like this:

V_ERLC = $(erlc_verbose)$(ERLC)

I could do that. I don't like including $(ERLC_FLAGS) in it though, it's not common practice.

I don't mind not including it in R16 and I think it's probably for the best. I have other improvements in mind for the build process anyway so I'll rebase this on current master and work on it.

Thanks for the feedback, that's all I wanted ;)

-- 
Anthony Ramine

Le 11 janv. 2013 à 18:40, Björn-Egil Dahlberg <> a écrit :

> On 2013-01-11 18:12, Anthony Ramine wrote:
>> I could do that, it would make things easier. The patch doesn't yet handle all the things but I
>> submitted it anyway to have a feedback earlier and to know whether I should bother finishing it.
>> 
>> I guess your answer is positive enough for me to finish it :) I'll do that this weekend.
>> 
>> Regards,
>> 
> I realized when hitting send that you still have change all the files by the move.
> 
> My first thought was actually changing the compiler or gen environment variables to include
> 
> i.e. instead of doing $(erlc_verbose)$(ERLC) and the like, doing for instance
> ERLC = $(erlc_verbose)erlc $(ERLC_WFLAGS) $(ERLC_FLAGS)
> 
> But since all (?) ERLC rules are covered in otp.mk.in, that particular example seems redundant. =)
> 
> sadly sed doesn't have and environment variables .. it would have simplified things greatly.
> 
> Caution - I'm positive to the change, but since it changes all the build things this close to r16 I will be more hesitant to include it. If it will be included I will include it in R16A (release candidate), and not between A and B (production). The fewer changed files the better.
> 
> If you decide to work on it more rebase it to current master. The following files needs special care:
> 
> #    both modified:      erts/emulator/Makefile.in
> #    both modified:      lib/crypto/c_src/Makefile.in
> #    both modified:      lib/diameter/doc/src/Makefile
> #    both modified:      lib/eldap/src/Makefile
> #    both modified:      lib/megaco/src/binary/depend.mk
> #    both modified:      lib/public_key/asn1/Makefile
> 
> I will continue the review once I hear from you.
> 
> // Björn-Egil


More information about the erlang-patches mailing list