[all-commits] [llvm/llvm-project] d37496: [libc] Fix printf config not working (#66834)
michaelrj-google via All-commits
all-commits at lists.llvm.org
Tue Sep 19 15:36:27 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d37496e75a137fa3711d4cdd488c45f39ef9be91
https://github.com/llvm/llvm-project/commit/d37496e75a137fa3711d4cdd488c45f39ef9be91
Author: michaelrj-google <71531609+michaelrj-google at users.noreply.github.com>
Date: 2023-09-19 (Tue, 19 Sep 2023)
Changed paths:
M libc/src/stdio/CMakeLists.txt
M libc/test/src/stdio/CMakeLists.txt
Log Message:
-----------
[libc] Fix printf config not working (#66834)
The list of printf copts available in config.json wasn't working because
the printf_core subdirectory was included before the printf_copts
variable was defined, making it effectively nothing for the printf
internals. Additionally, the tests weren't respecting the flags so they
would cause the tests to fail. This patch reorders the cmake in src and
adds flag handling in test.
More information about the All-commits
mailing list