Thread: parallel builds with dependencies

parallel builds with dependencies

From
Kris Jurka
Date:
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

Attachment

Re: parallel builds with dependencies

From
Bruce Momjian
Date:
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