Landing: b75d81d95f49

Project / Subsystem

gcc / libsanitizer

Date

2026-07-23

Author

Harmen Stoppels

Commit

b75d81d95f49d694ed2edbd383207c00c8b1da77

Source

github

Perf win

Yes

Breaking

No

All attributes

project
gcc
subsystem
libsanitizer
patch_id
commit_hash
b75d81d95f49d694ed2edbd383207c00c8b1da77
source_type
github
headline
libsanitizer: Parallelize subdir builds
tldr
Builds of libsanitizer subdirectories are now parallelized for faster compilation.
author
Harmen Stoppels
outcome
committed
performance_win
true
breaking_change
false
series_id
series_parts
[]
tags
  • build
  • libsanitizer
  • performance
discussion_id_link
bugzilla_pr
date
2026-07-23T00:00:00.000Z

This commit replaces the sequential building of libsanitizer subdirectories with an explicit dependency graph. Automake typically builds subdirectories one after another, limiting parallelism. By defining dependencies (asan and hwasan depend on lsan, others on sanitizer_common), builds can now run in parallel. This change significantly reduces build times on multi-core systems, with CPU load increasing from 2.3 to 3.7, resulting in approximately a 30% faster build.