Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 2021 10:06:20 GMT
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: fb48fa91811f - stable/12 - Enable SUBDIR_PARELLEL in lib/libclang_rt
Message-ID:  <202112221006.1BMA6Ksv092557@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=fb48fa91811f707044185c2a97c377bfe377df46

commit fb48fa91811f707044185c2a97c377bfe377df46
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2020-10-12 10:42:33 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-12-22 10:01:20 +0000

    Enable SUBDIR_PARELLEL in lib/libclang_rt
    
    I noticed that this part of the build was taking much longer than
    expected. Turns out it's due to not running the subdirs in parallel.
    Reduces `make all` inside lib/libclang_rt time from 63s to 20s with -j32.
    
    Reviewed By:    dim
    Differential Revision: https://reviews.freebsd.org/D26623
    
    (cherry picked from commit cf084e9e9283ba2e4a5a73e54552508fff763379)
---
 lib/libclang_rt/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/libclang_rt/Makefile b/lib/libclang_rt/Makefile
index d80c9876aee0..c1c72299bdf7 100644
--- a/lib/libclang_rt/Makefile
+++ b/lib/libclang_rt/Makefile
@@ -32,4 +32,6 @@ SUBDIR+=	xray-profiling
 
 SUBDIR+=	profile
 
+SUBDIR_PARALLEL=
+
 .include <bsd.subdir.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112221006.1BMA6Ksv092557>