[libc-commits] [libc] 03a26c3 - [libc] Fix compile options for algorithm test

Michael Jones via libc-commits libc-commits at lists.llvm.org
Tue Jun 28 10:22:19 PDT 2022


Author: Michael Jones
Date: 2022-06-28T10:22:15-07:00
New Revision: 03a26c34a7cd577777dca2157419f30ac6df27f0

URL: https://github.com/llvm/llvm-project/commit/03a26c34a7cd577777dca2157419f30ac6df27f0
DIFF: https://github.com/llvm/llvm-project/commit/03a26c34a7cd577777dca2157419f30ac6df27f0.diff

LOG: [libc] Fix compile options for algorithm test

This patch fixes the problem the bots were having with the algorithm
test not including pthreads correctly. They will likely need a manual
forced clean build for this to take effect.

Differential Revision: https://reviews.llvm.org/D128742

Added: 
    

Modified: 
    libc/test/src/string/memory_utils/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/libc/test/src/string/memory_utils/CMakeLists.txt b/libc/test/src/string/memory_utils/CMakeLists.txt
index 9b777a7d5311..3e2e678245fc 100644
--- a/libc/test/src/string/memory_utils/CMakeLists.txt
+++ b/libc/test/src/string/memory_utils/CMakeLists.txt
@@ -12,6 +12,7 @@ add_libc_unittest(
   COMPILE_OPTIONS
     ${LIBC_COMPILE_OPTIONS_NATIVE}
     -ffreestanding
+    -pthread
   DEPENDS
     libc.src.string.memory_utils.memory_utils
     libc.src.__support.CPP.array


        


More information about the libc-commits mailing list