OSDN Git Service

Disable LLVM_ENABLE_THREADS in config generation script
authorNicolas Capens <capn@google.com>
Fri, 22 Mar 2019 19:15:33 +0000 (15:15 -0400)
committerNicolas Capens <nicolascapens@google.com>
Tue, 26 Mar 2019 19:00:56 +0000 (19:00 +0000)
Bug chromium:944811

Change-Id: Ic44bfa123b5c64e3cd38022645a9e37ae5a29168
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27810
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: Alexis Hétu <sugoi@google.com>
Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>

third_party/llvm-7.0/scripts/update.py

index 1ad1fb9..db467a6 100755 (executable)
@@ -59,6 +59,7 @@ LLVM_TRIPLES = {
 LLVM_OPTIONS = [
     '-DCMAKE_BUILD_TYPE=Release',
     '-DLLVM_TARGETS_TO_BUILD=' + ';'.join(t[0] for t in LLVM_TARGETS),
+    '-DLLVM_ENABLE_THREADS=OFF',
     '-DLLVM_ENABLE_TERMINFO=OFF',
     '-DLLVM_ENABLE_LIBXML2=OFF',
     '-DLLVM_ENABLE_LIBEDIT=OFF',