[blfs-dev] Improving cmake builds

2019-03-28 Thread Ken Moffat via blfs-dev
As a follow-on from the meson threads, I've done some more testing with cmake packages. AFAICS, there are no issues with using -DCMAKE_BUILD_TYPE=Release in released cmake packages on modern hardware (force -O3 and -DNDEBUG). One package which I thought might be interesting was x265 (although I do

Re: [blfs-dev] Taming meson, v2

2019-03-28 Thread Ken Moffat via blfs-dev
On Thu, Mar 28, 2019 at 09:32:44PM +, Ken Moffat via blfs-dev wrote: > > Four points so far: > > 1. The default buildtype is still release (although only shown when >you specify a buildtype), i.e. no change betwen 0.49.2 and >0.50.0. I can't type, can I ? As noted elsewhere, the def

Re: [blfs-dev] mesa options with meson

2019-03-28 Thread Ken Moffat via blfs-dev
On Thu, Mar 28, 2019 at 06:13:01PM -0500, Bruce Dubbs via blfs-dev wrote: > In mesa, I did 'mesaon configure' to see the options it understood. > What I got was virtually unreadable due to really, really bad formatting > for the mesa specific options. > > Attached is an edited version that is at l

[blfs-dev] mesa options with meson

2019-03-28 Thread Bruce Dubbs via blfs-dev
In mesa, I did 'mesaon configure' to see the options it understood. What I got was virtually unreadable due to really, really bad formatting for the mesa specific options. Attached is an edited version that is at least a little readable. -- Bruce Core properties: Source dir /build/mesa/mesa-

Re: [blfs-dev] Taming meson, v2

2019-03-28 Thread Ken Moffat via blfs-dev
On Thu, Mar 28, 2019 at 09:32:44PM +, Ken Moffat via blfs-dev wrote: > > Will look at some cmake packages later. I've now created #11872 for > this. > I've now started to look at cmake applications. I build the following which already use -DCMAKE_BUILD_TYPE=Release and have tests: libjpeg

Re: [blfs-dev] Taming meson, v2

2019-03-28 Thread Ken Moffat via blfs-dev
On Thu, Mar 28, 2019 at 11:46:06AM -0500, Bruce Dubbs via blfs-dev wrote: > On 3/27/19 10:56 PM, Ken Moffat via blfs-dev wrote: > > [snip] > > > Compared to meson, a much greater use of -DNDEBUG. I have no idea > > if CFLAGS, CXXFLAGS supplied in the environment override these > > options. > >

Re: [blfs-dev] meson

2019-03-28 Thread Pierre Labastie via blfs-dev
On 28/03/2019 16:25, Douglas R. Reno via blfs-dev wrote: On 3/28/19 2:28 AM, Pierre Labastie via blfs-dev wrote: On 28/03/2019 03:59, Bruce Dubbs via blfs-dev wrote: There are just too many problems with meson-0.50.0.  Therefore I have reverted to meson-0.49.2 in lfs-svn until it gets fixed.

Re: [blfs-dev] Taming meson, v2

2019-03-28 Thread Bruce Dubbs via blfs-dev
On 3/27/19 11:14 PM, Douglas R. Reno via blfs-dev wrote: In passing, I will note that I am not impressed by the implication that our builders ought to run the tests for glib (in almost everything else we use words like "if you wish to run the tests"), also that it seems to write on the Xorg scre

Re: [blfs-dev] Taming meson, v2

2019-03-28 Thread Bruce Dubbs via blfs-dev
On 3/27/19 10:56 PM, Ken Moffat via blfs-dev wrote: [snip] Compared to meson, a much greater use of -DNDEBUG. I have no idea if CFLAGS, CXXFLAGS supplied in the environment override these options. But I think we ought to have something in Notes on Building Software about the cmake defaults, a

Re: [blfs-dev] meson

2019-03-28 Thread Xi Ruoyao via blfs-dev
On 2019-03-28 10:25 -0500, Douglas R. Reno via blfs-dev wrote: > I stand by my opinion that this version of Meson should've been > Meson-1.0.0... I think they should actually rename 0.49.0 to 49.0.0, 0.50.0 to 50.0.0, etc. It seems I could build gnome just because of my blind luck (using a custo

Re: [blfs-dev] meson

2019-03-28 Thread Douglas R. Reno via blfs-dev
On 3/28/19 2:28 AM, Pierre Labastie via blfs-dev wrote: On 28/03/2019 03:59, Bruce Dubbs via blfs-dev wrote: There are just too many problems with meson-0.50.0.  Therefore I have reverted to meson-0.49.2 in lfs-svn until it gets fixed. If this is a conclusion of private discussions, please ma

[blfs-dev] oo

2019-03-28 Thread Riccardo Corsi via blfs-dev
oo -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page

Re: [blfs-dev] meson

2019-03-28 Thread Pierre Labastie via blfs-dev
On 28/03/2019 03:59, Bruce Dubbs via blfs-dev wrote: > There are just too many problems with meson-0.50.0.  Therefore I have reverted > to meson-0.49.2 in lfs-svn until it gets fixed. > If this is a conclusion of private discussions, please make them public, or summarize them... If it is not, wel