Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4476b098b4c86df4ea64031f8a92451c881dec6f
https://github.com/WebKit/WebKit/commit/4476b098b4c86df4ea64031f8a92451c881dec6f
Author: Simon Lewis <[email protected]>
Date: 2026-04-27 (Mon, 27 Apr 2026)
Changed paths:
M Source/cmake/OptionsMac.cmake
M Source/cmake/WebKitCommon.cmake
Log Message:
-----------
[CMake][Mac] Fail configure if an ASan build dir is reconfigured without
ENABLE_SANITIZERS
https://bugs.webkit.org/show_bug.cgi?id=313506
Reviewed by Geoffrey Garen.
If CMakeCache.txt is deleted (or the .../ASan build directory was never
configured via `cmake --preset mac-asan`), the next ninja-triggered
auto-reconfigure bootstraps a fresh cache with ENABLE_SANITIZERS unset and
silently rebuilds the entire tree without instrumentation. Fail loudly at
configure time instead, with the recovery command.
Also FORCE-cache the Apple PORT autodetect so CMakeCache.txt reflects what
is actually being built rather than the NOPORT placeholder.
* Source/cmake/OptionsMac.cmake:
* Source/cmake/WebKitCommon.cmake:
Canonical link: https://commits.webkit.org/312164@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications