diff options
author | Nicholas Junge <nicholas.junge@web.de> | 2023-10-25 13:12:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 12:12:18 +0100 |
commit | 698d1dc8c321d0797487e7988825f3f43c1d86b0 (patch) | |
tree | 0056cf4517ef6de7d413052f896f145346358b96 /bindings/python/google_benchmark/example.py | |
parent | e45585a4b8e75c28479fa4107182c28172799640 (diff) | |
download | google-benchmark-698d1dc8c321d0797487e7988825f3f43c1d86b0.tar.gz google-benchmark-698d1dc8c321d0797487e7988825f3f43c1d86b0.zip |
Reapply size optimizations for clang & MSVC, LTO for Mac+Linux (#1685)
* Reapply size optimization for clang, equivalent options for MSVC
Working towards cross-platform optimal nanobind building configurations.
* Add LTO back to non-Windows builds
The Windows case (the option name is "/GL") is more complicated, since
there, the compiler options also need to be passed to the linker if LTO
is enabled.
Since we are gating the linker options on platform at the moment instead
of compiler, we need to implement a Bazel boolean flag for the case
"Platform == MacOS && Compiler == AnyOf(gcc, clang)".
Diffstat (limited to 'bindings/python/google_benchmark/example.py')
0 files changed, 0 insertions, 0 deletions