Re: Parallel make problem with git master

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Parallel make problem with git master
Дата
Msg-id AANLkTim_EO8DdY9kc8ooDrc=NSnLcHBsFUxzDc2Nmtvg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Parallel make problem with git master  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Parallel make problem with git master  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Mon, Mar 7, 2011 at 10:28 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> I wrote:
>> I think what is happening here is that make launches concurrent sub-jobs
>> to do "make install" in each of interfaces/libpq and interfaces/ecpg,
>> and the latter launches a sub-sub-job to do "make all" in
>> interfaces/libpq, and make has no idea that these are duplicate sub-jobs
>> so it actually tries to run both concurrently.  Whereupon you get all
>> sorts of fun failures.  I'm not sure if there is any cure that's not
>> worse than the disease.
>
> BTW, how many people here have read "Recursive Make Considered Harmful"?
>
> http://aegis.sourceforge.net/auug97.pdf
>
> Because what we're presently doing looks mighty similar to what he's
> saying doesn't work and can't be made to work.

I'm not sure whether it makes sense to go that far or not.  But I
think it'd make sense to at least try this for the backend.  It does
seem pretty silly to have a Makefile in every single directory.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: Sync Rep v19
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Parallel make problem with git master