[all-commits] [llvm/llvm-project] cdbba1: [libc] Add --write-if-changed switch to hdrgen/mai...
Roland McGrath via All-commits
all-commits at lists.llvm.org
Wed Jan 8 11:00:53 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cdbba15c6cd53291358bf95a9a9057042fcbf163
https://github.com/llvm/llvm-project/commit/cdbba15c6cd53291358bf95a9a9057042fcbf163
Author: Roland McGrath <mcgrathr at google.com>
Date: 2025-01-08 (Wed, 08 Jan 2025)
Changed paths:
M libc/cmake/modules/LLVMLibCHeaderRules.cmake
M libc/utils/hdrgen/main.py
Log Message:
-----------
[libc] Add --write-if-changed switch to hdrgen/main.py (#122037)
This avoids touching the output file when it hasn't changed. The
cmake build integration now uses this so that touching a .yaml or
.h.def file in ways that don't affect the generated header output
won't cause unnecessary recompilations.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list