[libcxx-commits] [libcxx] 106fea9 - [libc++] Pin down the C version to use for SPEC

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Sep 24 10:52:40 PDT 2025


Author: Louis Dionne
Date: 2025-09-24T13:51:26-04:00
New Revision: 106fea90117424c2def33d5ca0eb7b772af9783e

URL: https://github.com/llvm/llvm-project/commit/106fea90117424c2def33d5ca0eb7b772af9783e
DIFF: https://github.com/llvm/llvm-project/commit/106fea90117424c2def33d5ca0eb7b772af9783e.diff

LOG: [libc++] Pin down the C version to use for SPEC

Also, disable a warning which allows additional benchmarks to build
successfully.

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 ea7b75b3d2085..94865ead1f440 100644
--- a/libcxx/test/benchmarks/spec.gen.py
+++ b/libcxx/test/benchmarks/spec.gen.py
@@ -45,7 +45,7 @@
     tune                 = base
     copies               = 1
     threads              = 1
-    CC                   = cc -O3
+    CC                   = cc -O3 -std=c18 -Wno-implicit-function-declaration
     CXX                  = {cxx} {compile_flags} {flags} {link_flags} -Wno-error
     CC_VERSION_OPTION    = --version
     CXX_VERSION_OPTION   = --version


        


More information about the libcxx-commits mailing list