|
Bjoern Michaelsen |
|
|
Hi,
it should now be possible to build one (or more) libraries for debugging, while building the rest nondebug. Thanks for Tor giving the inspiration to this at the Hackfest! details: http://cgit.freedesktop.org/libreoffice/core/commit/?id=ebed42c38ae91147633c47873307e07984bc62c1 Best, Bjoern _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice |
|
Lubos Lunak |
|
|
On Monday 16 of April 2012, Bjoern Michaelsen wrote:
> Hi, > > it should now be possible to build one (or more) libraries for debugging, > while building the rest nondebug. Thanks for Tor giving the inspiration to > this at the Hackfest! Is it possible to do the build also the other way around, i.e. e.g. "all but sc"? If I work on something, I generally want to have also all its dependencies built with debug (does it even make sense to build it otherwise?), and if I understand the change correctly, I'd have to manually find out what all the dependencies actually are. Given that sc/sd/sw are the biggest three, it probably even makes the biggest difference to disable the two that one does not work on. -- Lubos Lunak [hidden email] _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice |
|
Bjoern Michaelsen |
|
|
On Mon, Apr 16, 2012 at 01:50:00PM +0200, Lubos Lunak wrote:
> Is it possible to do the build also the other way around, i.e. e.g. "all but > sc"? Not yet, feel free to add it if you think it is essential. > If I work on something, I generally want to have also all its > dependencies built with debug (does it even make sense to build it > otherwise?), yes, it does. If you are in sw there are a lot of thinks that can be solved just in sw. If not, you recompile those libs. > and if I understand the change correctly, I'd have to manually > find out what all the dependencies actually are. Given that sc/sd/sw are the > biggest three, it probably even makes the biggest difference to disable the > two that one does not work on. ALLBUTSCSW=`find . -name "Library*.mk"| sed -e 's/^.*Library_//' -e 's/.mk$//'|grep -v sc |grep -v sw` && ./autogen.sh --enable-debug="$ALLBUTSCSW" should be enough. Best, Bjoern _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice |
|
Lubos Lunak |
|
|
On Monday 16 of April 2012, Bjoern Michaelsen wrote:
> On Mon, Apr 16, 2012 at 01:50:00PM +0200, Lubos Lunak wrote: > > Is it possible to do the build also the other way around, i.e. e.g. "all > > but sc"? > > Not yet, feel free to add it if you think it is essential. ... > > and if I understand the change correctly, I'd have to manually > > find out what all the dependencies actually are. Given that sc/sd/sw are > > the biggest three, it probably even makes the biggest difference to > > disable the two that one does not work on. > > ALLBUTSCSW=`find . -name "Library*.mk"| sed -e 's/^.*Library_//' -e > 's/.mk$//'|grep -v sc |grep -v sw` && ./autogen.sh > --enable-debug="$ALLBUTSCSW" > > should be enough. -- Lubos Lunak [hidden email] _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice |
|
Lubos Lunak |
|
|
On Friday 20 of April 2012, Lubos Lunak wrote:
> On Monday 16 of April 2012, Bjoern Michaelsen wrote: > > On Mon, Apr 16, 2012 at 01:50:00PM +0200, Lubos Lunak wrote: > > > Is it possible to do the build also the other way around, i.e. e.g. > > > "all but sc"? > > > > Not yet, feel free to add it if you think it is essential. > > ... > > > > and if I understand the change correctly, I'd have to manually > > > find out what all the dependencies actually are. Given that sc/sd/sw > > > are the biggest three, it probably even makes the biggest difference to > > > disable the two that one does not work on. > > > > ALLBUTSCSW=`find . -name "Library*.mk"| sed -e 's/^.*Library_//' -e > > 's/.mk$//'|grep -v sc |grep -v sw` && ./autogen.sh > > --enable-debug="$ALLBUTSCSW" > > > > should be enough. > > How about this? -- Lubos Lunak [hidden email] _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice |
|
Lubos Lunak |
|
|
In reply to this post by Lubos Lunak
On Friday 20 of April 2012, Lubos Lunak wrote:
> On Monday 16 of April 2012, Bjoern Michaelsen wrote: > > On Mon, Apr 16, 2012 at 01:50:00PM +0200, Lubos Lunak wrote: > > > Is it possible to do the build also the other way around, i.e. e.g. > > > "all but sc"? > > > > Not yet, feel free to add it if you think it is essential. > > ... > > > > and if I understand the change correctly, I'd have to manually > > > find out what all the dependencies actually are. Given that sc/sd/sw > > > are the biggest three, it probably even makes the biggest difference to > > > disable the two that one does not work on. > > > > ALLBUTSCSW=`find . -name "Library*.mk"| sed -e 's/^.*Library_//' -e > > 's/.mk$//'|grep -v sc |grep -v sw` && ./autogen.sh > > --enable-debug="$ALLBUTSCSW" > > > > should be enough. > > How about this? Pushed. Short version for whoever has already started to use this: Prepend "Library_" to every item you pass to --enable-debug, or simply use directory names with "/" appended, and pass it to --enable-symbols instead. -- Lubos Lunak [hidden email] _______________________________________________ LibreOffice mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/libreoffice |
| Powered by Nabble | Edit this page |