[libc-commits] [PATCH] D128742: [libc] Fix compile options for algorithm test
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Jun 28 10:21:34 PDT 2022
michaelrj created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.
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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D128742
Files:
libc/test/src/string/memory_utils/CMakeLists.txt
Index: libc/test/src/string/memory_utils/CMakeLists.txt
===================================================================
--- libc/test/src/string/memory_utils/CMakeLists.txt
+++ libc/test/src/string/memory_utils/CMakeLists.txt
@@ -12,6 +12,7 @@
COMPILE_OPTIONS
${LIBC_COMPILE_OPTIONS_NATIVE}
-ffreestanding
+ -pthread
DEPENDS
libc.src.string.memory_utils.memory_utils
libc.src.__support.CPP.array
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128742.440681.patch
Type: text/x-patch
Size: 429 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220628/3bb4c1aa/attachment.bin>
More information about the libc-commits
mailing list