Re: headerscheck ccache support

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: headerscheck ccache support
Дата
Msg-id c1e4f972-81e4-4f29-a796-b00c4154be98@eisentraut.org
обсуждение исходный текст
Ответ на Re: headerscheck ccache support  (Álvaro Herrera <alvherre@kurilemu.de>)
Список pgsql-hackers
On 28.11.25 14:29, Álvaro Herrera wrote:
>> Another approach I had in mind for some time is to just write out a makefile
>> with the test compile commands, and run that with make -j. Demo patch
>> attached.  (I'm not seriously proposing this.  For one thing, we probably
>> wouldn't want to introduce a dependency on make.  But you could probably
>> write an equivalent ninja.build file.)
>>
>> But this doesn't seem to buy very much.  The overhead of the shell script to
>> write out the test files appears to become significant compared the the
>> actual compile commands.
> 
> Really?  I tried editing the make line to have -j8 (your patch doesn't
> have a -j switch at all there)

Note that the "+" I added to the targets in the top-level GNUmakefile.in 
causes the make flags to passed down, so you can run make -jN 
headerscheck etc. without having to edit or hardcode the make command 
inside the script.




В списке pgsql-hackers по дате отправления: