Page MenuHomeFreeBSD

Enable SUBDIR_PARELLEL in lib/libclang_rt
ClosedPublic

Authored by arichardson on Oct 1 2020, 9:44 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 22, 10:23 PM
Unknown Object (File)
Fri, Mar 22, 10:23 PM
Unknown Object (File)
Fri, Mar 22, 10:23 PM
Unknown Object (File)
Mar 8 2024, 7:37 AM
Unknown Object (File)
Jan 6 2024, 5:25 AM
Unknown Object (File)
Jan 6 2024, 5:25 AM
Unknown Object (File)
Jan 6 2024, 5:25 AM
Unknown Object (File)
Jan 4 2024, 6:58 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

arichardson created this revision.

Ah yes, this is OK. There's probably some more optimization possible, since these libraries build lots of duplicated object files, but I haven't had the time to look at that yet.

This revision is now accepted and ready to land.Oct 12 2020, 10:39 AM
This revision was automatically updated to reflect the committed changes.