To ensure consistent code formatting across developer machines, s_clang_format requires clang-format 12.0.1. If a suitable local binary is not already available, the script falls back to downloading a prebuilt binary from MongoDB-managed S3 storage. Those binaries were published by the BUILD team. They were built with old dependencies that are difficult to source on modern systems.
To avoid continuing to maintain our own binary cache, and to make it easier to provide prebuilt binaries across operating systems and architectures, we can use published clang-format wheels from PyPI instead.
- related to
-
WT-17777 s_clang_format fails on systems without python3-venv (ensurepip), breaking s_all and all code generators
-
- Needs Scheduling
-