Index | Thread | Search

From:
Klemens Nanni <kn@openbsd.org>
Subject:
Re: devel/git: used one thread by default
To:
benoit@openbsd.org, ports@openbsd.org, robert@openbsd.org, claudio@openbsd.org
Date:
Thu, 8 May 2025 08:36:03 +0000

Download raw body.

Thread
08.05.2025 11:33, Kirill A. Korinsky пишет:
> Klemens, Benoit,
> 
> rovert@ had noticed that git out of the box uses as many threads as the
> system has CUPs. claudio@ had pointed that it is quite bad idea and use an
> example that ld.lld with -Wl,--threads=1 reduces the configure time by 15%
> and system time by 40%.
> 
> So, here the diff which replaces 0 threads to 1 by default where it isn't 1
> already, and disabled try to use threads in name-hashing.
> 
> Are you ok with it?

Not against it, but please document it in README, or better yet, add a note
to the relevant git-*(1) pages so users know (why) we deliberately changed it.