Re: Optimization for reading *.d files

2017-03-19 Thread Norbert Thiebaud
On Sun, Mar 19, 2017 at 11:54 AM, brenorg wrote: > Hi Norbert, > > You are absolutely right. There is much more redundancy than I expected. I > joined all .d files in one single file and after running make on it and > printing the database, it's actually 10x smaller. And I know there must be > mor

Re: Optimization for reading *.d files

2017-03-19 Thread Norbert Thiebaud
On Sat, Mar 18, 2017 at 9:25 PM, brenorg wrote: > > Anyway, I want to continue to use GNU Make, and not fallback to CMake/Ninja. > After some profiling, what's killing me is parsing the "*.d" files generated > by the compiler. > > The time to include all dependency files of my project in one singl

Re: Difficulties from the combination of functions "call" and "eval"

2015-01-18 Thread Norbert Thiebaud
On Sun, Jan 18, 2015 at 6:31 AM, SF Markus Elfring wrote: > > Yes. - The evaluated variable should produce shell commands for recipes. > I try to reuse it as a subfunction. then use $(call -- or possibly $$(call, if you want to defer the call to when the recipe get invoked) not $(eval >> It's j

Re: Dynamic adjustments of build dependencies for the number of available processors

2015-01-06 Thread Norbert Thiebaud
On Mon, Jan 5, 2015 at 1:23 PM, Paul Smith wrote: > On Mon, 2015-01-05 at 20:06 +0100, SF Markus Elfring wrote: >> > So you have in your toolbox $(shell) and $(eval). >> >> I am not familiar enough with the second make function. >> http://www.gnu.org/software/make/manual/html_node/Eval-Function.ht

Re: Add "makefile.mak" to list of default makefiles

2014-07-07 Thread Norbert Thiebaud
On Mon, Jul 7, 2014 at 4:59 PM, Eli Zaretskii wrote: >> From: Paul Smith >> Cc: Eli Zaretskii , bug-make@gnu.org >> Date: Mon, 07 Jul 2014 02:06:54 -0400 >> >> On Mon, 2014-06-30 at 21:28 +0100, Jonny Grant wrote: >> > I have a few, but triggered by make -f makefile.mak. So it would be >> > quite

Re: [PATCH1/2] Use spawn() on Cygwin

2013-07-30 Thread Norbert Thiebaud
On Tue, Jul 30, 2013 at 10:39 AM, Eli Zaretskii wrote: >> From: Pavel Fedin >> Date: Tue, 30 Jul 2013 14:42:23 +0400 >> >> Please take this patch, Cygwin team told that they would like to integrate >> with upstream. I have already posted it some time ago but got no reply. >> The patch significa

Re: [bug #39028] [patch] fix and uniformize four error messages

2013-05-21 Thread Norbert Thiebaud
On Tue, May 21, 2013 at 12:01 AM, Edward Welbourne wrote: > > In paticular, in the case of "integral", there is a second meaning of > the word (go on, check that dictionary, in case you've forgotten your > calculus) which creates a (completely wanton, given that there's a > plainer term for a numb

Re: [bug #39028] [patch] fix and uniformize four error messages

2013-05-20 Thread Norbert Thiebaud
On Mon, May 20, 2013 at 5:53 PM, Edward Welbourne wrote: >>> I think "integer" is meant instead of "integral". 'integral' is the adjective form of 'integer', so, in context, it is correctly used. > >> Eg C99 uses "integral" as an adjective meaning "of integers", C99 and Merriam Webster, Oxford,

Re: Some potential bugs in make-3.82

2013-05-07 Thread Norbert Thiebaud
On Tue, May 7, 2013 at 10:24 PM, Zhenbo Xu wrote: > 2. Out of bound > file: function.c > function: func_sort > At line 1150: words = xmalloc (wordi * sizeof (char *)); > The value of wordi may be 1. > > At line 1171: if (i == wordi - 1 || strlen (words[i + 1]) != len > words[i + 1] may cause overf

Re: suggestion: new make function

2011-09-25 Thread Norbert Thiebaud
> > I find your suggestions more elagant than the original, they seem more > general purpose, and less "let's introduce this feature to get around > a specific problem". Of your two suggestions, I'd favor the "withfile" > option, it would be both more powerful, and doesn't introduce the > problem o

[PATCH] expand debugging options to provide tracing of call to $(eval and $(call

2011-06-24 Thread Norbert Thiebaud
sc_patches/make-3.82.lo_trace.patch?id=a4f03f17f42ded70e6a3c49cf4e9a90eaf3c12ca In the spirit of 'pushing upstream', I submit this patch here, under GPLv3+ terms. Regards, Norbert Thiebaud Below is an example of output produced by this patch: [...] ### call $(gb_Library_set_include)