[all-commits] [llvm/llvm-project] 303c4c: [libc++] Don't force -O2 when building the benchmarks
Louis Dionne via All-commits
all-commits at lists.llvm.org
Fri Jun 17 14:34:17 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 303c4c37ea49f9cf43e5252c4d97904e344c59cf
https://github.com/llvm/llvm-project/commit/303c4c37ea49f9cf43e5252c4d97904e344c59cf
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2022-06-17 (Fri, 17 Jun 2022)
Changed paths:
M libcxx/benchmarks/CMakeLists.txt
Log Message:
-----------
[libc++] Don't force -O2 when building the benchmarks
The optimization level used when building the benchmarks should
match the optimization level of the current build. Otherwise, we
can end up mixing an -O3 or -O0 optimized dylib with benchmarks
built with -O2, which is really misleading.
Differential Revision: https://reviews.llvm.org/D127987
More information about the All-commits
mailing list