[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets
From: |
Greg Chicares |
Subject: |
Re: [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets parts |
Date: |
Fri, 06 Mar 2015 18:14:18 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 |
On 2015-03-04 00:45, Vadim Zeitlin wrote:
>
> I've recently mentioned in passing that install_wx.make could avoid
> building some components of wxWidgets which were not used by lmi. As I had
> to rebuild wx with gcc 3.4 once more myself today, I decided to change it
> myself just to speed up the build, so here is the resulting trivial patch:
Committed 20150306T1754Z, revision 6121.
I used to run the wx sample programs often, but haven't run any of
them for years, so I agree that '--without-subdirs' is appropriate.
> might enjoy faster build times (and smaller DLLs) too. Additionally, it is
> somewhat strange to disable wxStyledTextCtrl (the existing "--disable-stc")
> but not the other similar components, so this patch makes things more
> consistent as well.
I don't seem to have recorded how long it took previously, but...
/lmi/src/lmi[1]$time make wx_version=3.1.0
wx-3.1.0-md5=3c049ed2f470d81627ea5d513a06aa15 $coefficiency -f install_wx.make
>../log 2>&1
541.79s user 821.04s system 165% cpu 13:41.95 total
The wx libraries we use are smaller now: about thirty MB, down from forty.
BTW, the automated GUI test came in very handy here. I needn't worry
much that we've suppressed a part of wx that we might actually use in
some exotic case but is loaded on demand e.g. with LoadLibrary().
- [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets parts, Vadim Zeitlin, 2015/03/03
- Re: [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets parts,
Greg Chicares <=
- Re: [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets parts, Vadim Zeitlin, 2015/03/06
- Re: [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets parts, Greg Chicares, 2015/03/06
- Re: [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets parts, Vadim Zeitlin, 2015/03/07
- Re: [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets parts, Greg Chicares, 2015/03/09
- Re: [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets parts, Vadim Zeitlin, 2015/03/10
- Re: [lmi] [PATCH] Trivial patch to avoid building unnecessary wxWidgets parts, Greg Chicares, 2015/03/10