lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: question about configure for reg tests


From: Jonas Hahnfeld
Subject: Re: question about configure for reg tests
Date: Sat, 04 Jul 2020 13:09:30 +0200
User-agent: Evolution 3.36.3

Hi James,

Am Samstag, den 04.07.2020, 11:48 +0100 schrieb James Lowe:
> Hello,
> 
> I noticed that the Docker image is using a few configure options that I 
> do not use when I make/make check.

most of the flags in CI are about speeding up the build and reducing
size (in particular disabling debug symbols and enabling the GS API).
Both should make no difference for the regression tests. --enable-
checking is probably worth to have.

> Likewise I notice that while I use 
> configure --disable-optimising, the image does not (as far as I can tell 
> the disable-optimising option is specifically for reg test processing).

--disable-optimising is a lie, and so is --disable-debugging. If I do:
 $ ../src/configure --disable-debugging --disable-optimising
[...]
 $ grep CXXFLAGS config.make 
CONFIG_CXXFLAGS = -g -O2  [...]

that's certainly not what I expect. The reason is that autoconf adds
default code that sets CFLAGS="-g -O2" unless the user passes a custom
value of CFLAGS. In my opinion, that contradicts the purpose of the
flags and I intend to remove them soon.

> Should I be using the same options as the CI image is? (and if so, can 
> you tell me what they are in case I have missed any)?

As said above, I don't think it makes a difference. If you want to, Dan
recently added "autogen.sh --ci" which gets you exactly those flags 😉

Jonas


> Thanks
> 
> James

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]