Few printf config options have been setup using this new config system
along with their baremetal overrides. A follow up patch will add generation
of doc/config.rst, which will contain the full list of libc config options
and short description explaining how they affect the libc.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This patch implements the core of the scheme proposed in https://discourse.llvm.org/t/rfc-systematic-way-to-introduce-and-use-libc-config-options/72943.
libc/CMakeLists.txt | ||
---|---|---|
99–100 | Maybe it's clearer with a direct form "CMake command line option takes precedence over 'config.json' options". | |
109 | typo | |
libc/cmake/modules/LibcConfig.cmake | ||
26–28 | Maybe state in the documentation that the function does nothing if the file is missing. | |
98–102 | This is not super clear, can you rephrase without double negation? Also maybe an exemple would help. |
libc/CMakeLists.txt | ||
---|---|---|
116 | What's the reason for removing the variable from cache? |
libc/cmake/modules/LibcConfig.cmake | ||
---|---|---|
123 | Sorry I should have been more explicit. I can't parse This option is not be overriden, is this This option is not *to* be *overridden*? |
libc/cmake/modules/LibcConfig.cmake | ||
---|---|---|
123 | I think there's still one d missing in overriden, should be overridden :) |
Maybe it's clearer with a direct form "CMake command line option takes precedence over 'config.json' options".