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']
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']
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits