[Lldb-commits] [PATCH] D54808: [lit] Add pthread to the compilation of the tests on Linux

Stella Stamenova via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 21 12:18:51 PST 2018


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL347412: [lit] Add pthread to the compilation of the tests on Linux (authored by stella.stamenova, committed by ).
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D54808?vs=174962&id=174964#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D54808

Files:
  lldb/trunk/lit/helper/toolchain.py


Index: lldb/trunk/lit/helper/toolchain.py
===================================================================
--- lldb/trunk/lit/helper/toolchain.py
+++ lldb/trunk/lit/helper/toolchain.py
@@ -78,7 +78,7 @@
             sdk_path = lit.util.to_string(out)
             lit_config.note('using SDKROOT: %r' % sdk_path)
             flags = ['-isysroot', sdk_path]
-    elif platform.system() in ['OpenBSD']:
+    elif platform.system() in ['OpenBSD', 'Linux']:
         flags = ['-pthread']
 
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54808.174964.patch
Type: text/x-patch
Size: 491 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181121/463c5a9e/attachment.bin>


More information about the lldb-commits mailing list