parallel builds with dependencies

Поиск
Список
Период
Сортировка
Искать

parallel builds with dependencies

От:
Kris Jurka <books@ejurka.com>
Дата:
Вложения:

When performing a parallel build (make -j N) with ./configure 
--enable-depend it often tries to create the .deps directory twice and 
bails out when it already exists due to a race condition of if doesn't 
exist, then create.  This patch prevents mkdir from returning an error.

Kris Jurka

Re: parallel builds with dependencies

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:

Patch applied.  Thanks.

---------------------------------------------------------------------------


Kris Jurka wrote:
> 
> When performing a parallel build (make -j N) with ./configure 
> --enable-depend it often tries to create the .deps directory twice and 
> bails out when it already exists due to a race condition of if doesn't 
> exist, then create.  This patch prevents mkdir from returning an error.
> 
> Kris Jurka

Content-Description: 

[ Attachment, skipping... ]

> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
> 
>                http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
FAQ