parallel builds with dependencies

Started by Kris Jurkaover 20 years ago2 messagespatches
Jump to latest
#1Kris 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

Attachments:

parallel-deps.patchtext/plain; charset=US-ASCII; name=parallel-deps.patchDownload+2-2
#2Bruce Momjian
bruce@momjian.us
In reply to: Kris Jurka (#1)
Re: parallel builds with dependencies

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