commit | a871f76942cc222f9bc46412e23f11da411f97b8 | [log] [tgz] |
---|---|---|
author | Robert Kolchmeyer <rkolchmeyer@google.com> | Tue Jan 17 00:27:13 2023 -0800 |
committer | Robert Kolchmeyer <rkolchmeyer@google.com> | Tue Jan 17 19:50:43 2023 +0000 |
tree | c5366b3000a02a50baa56b875448e67ec1fabd16 | |
parent | 97346e2578ad7211804d685209f4afb8b4368e94 [diff] |
cos_gpu_installer_v1: compile without -Werror=strict-prototypes New LLVM versions changed the behavior of -Wstrict-prototypes. It now shows diagnostics where it previously didn't. Since all kernel code compiles with -Werror=strict-prototypes, nvidia drivers are compiled with -Werror=strict-prototypes. As a result, the new -Wstrict-prototypes behavior breaks nvidia driver compilation. We can work around this by implementing a compiler wrapper that removes -Werror=strict-prototypes from the compiler command line. BUG=b/257271340 TEST=Compile 470 drivers on ToT RELEASE_NOTE=None Change-Id: I967d8ae16b934772fa2e576ebda19f51e8031604 Reviewed-on: https://cos-review.googlesource.com/c/cos/tools/+/41196 Reviewed-by: Meena Shanmugam <meenashanmugam@google.com> Reviewed-by: Arnav Kansal <rnv@google.com> Tested-by: Robert Kolchmeyer <rkolchmeyer@google.com> Cloud-Build: GCB Service account <228075978874@cloudbuild.gserviceaccount.com>
This is a repository of various tools developed for Container-Optimized OS. Examples include cos-gpu-installer, cos-toolbox, etc.
See CONTRIBUTING.md for how to contribute.