[libc-commits] [libc] 2d2893d - [libc] always compile hash_test with -O3 (#98718)

via libc-commits libc-commits at lists.llvm.org
Sat Jul 13 09:48:29 PDT 2024


Author: Schrodinger ZHU Yifan
Date: 2024-07-13T09:48:26-07:00
New Revision: 2d2893d7b1bbe380c6e66aad93bfa34a425cddd5

URL: https://github.com/llvm/llvm-project/commit/2d2893d7b1bbe380c6e66aad93bfa34a425cddd5
DIFF: https://github.com/llvm/llvm-project/commit/2d2893d7b1bbe380c6e66aad93bfa34a425cddd5.diff

LOG: [libc] always compile hash_test with -O3 (#98718)

Added: 
    

Modified: 
    libc/test/src/__support/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/src/__support/CMakeLists.txt b/libc/test/src/__support/CMakeLists.txt
index 4df055c9654ea..f994f65e08cbb 100644
--- a/libc/test/src/__support/CMakeLists.txt
+++ b/libc/test/src/__support/CMakeLists.txt
@@ -200,6 +200,8 @@ add_libc_test(
     libc.src.stdlib.rand
     libc.src.stdlib.srand
     libc.src.string.memset
+  COMPILE_OPTIONS
+    -O3
   UNIT_TEST_ONLY
     # Aligned Allocation is not supported in hermetic builds.
 )


        


More information about the libc-commits mailing list