[libcxx-commits] [libcxx] 3327eea - [libc++] Reduce the number of warnings when running SPEC (#160366)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 28 10:51:37 PST 2026
Author: Louis Dionne
Date: 2026-01-28T13:51:32-05:00
New Revision: 3327eea67ff834f525b0a124d1d303be8e627e08
URL: https://github.com/llvm/llvm-project/commit/3327eea67ff834f525b0a124d1d303be8e627e08
DIFF: https://github.com/llvm/llvm-project/commit/3327eea67ff834f525b0a124d1d303be8e627e08.diff
LOG: [libc++] Reduce the number of warnings when running SPEC (#160366)
We don't care about warnings in the SPEC suite, so just use -w to turn
them off.
Added:
Modified:
libcxx/test/benchmarks/spec.gen.py
Removed:
################################################################################
diff --git a/libcxx/test/benchmarks/spec.gen.py b/libcxx/test/benchmarks/spec.gen.py
index c08541a57ac7c..640a29e5c24c5 100644
--- a/libcxx/test/benchmarks/spec.gen.py
+++ b/libcxx/test/benchmarks/spec.gen.py
@@ -46,7 +46,7 @@
copies = 1
threads = 1
CC = cc -O3 -std=c18 -Wno-implicit-function-declaration
- CXX = {cxx} {compile_flags} {flags} {link_flags} -Wno-error
+ CXX = {cxx} {compile_flags} {flags} {link_flags} -w # we don't care about warnings in SPEC
CC_VERSION_OPTION = --version
CXX_VERSION_OPTION = --version
EXTRA_PORTABILITY = -DSPEC_NO_CXX17_SPECIAL_MATH_FUNCTIONS # because libc++ doesn't implement the special math functions yet
More information about the libcxx-commits
mailing list