Commit cd95ac35 by Ben Clayton

LLVM 7: Set LLVM_ENABLE_THREADS to 1

Required for making Reactor thread safe. Bug: b/153803432 Change-Id: I6d36346e22e4ba7a629e280baaa8d293969c366f Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/44012Reviewed-by: 's avatarAntonio Maiorano <amaiorano@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com>
parent ea66320c
......@@ -34,7 +34,7 @@
#endif
/* Define if threads enabled */
#define LLVM_ENABLE_THREADS 0
#define LLVM_ENABLE_THREADS 1
/* Has gcc/MSVC atomic intrinsics */
#define LLVM_HAS_ATOMICS 1
......
......@@ -28,7 +28,7 @@
#endif
/* Define if threads enabled */
#define LLVM_ENABLE_THREADS 0
#define LLVM_ENABLE_THREADS 1
/* Has gcc/MSVC atomic intrinsics */
#define LLVM_HAS_ATOMICS 1
......
......@@ -30,7 +30,7 @@
#endif
/* Define if threads enabled */
#define LLVM_ENABLE_THREADS 0
#define LLVM_ENABLE_THREADS 1
/* Has gcc/MSVC atomic intrinsics */
#define LLVM_HAS_ATOMICS 1
......
......@@ -50,7 +50,7 @@
#endif
/* Define if threads enabled */
#define LLVM_ENABLE_THREADS 0
#define LLVM_ENABLE_THREADS 1
/* Has gcc/MSVC atomic intrinsics */
#define LLVM_HAS_ATOMICS 1
......
......@@ -48,7 +48,7 @@
#endif
/* Define if threads enabled */
#define LLVM_ENABLE_THREADS 0
#define LLVM_ENABLE_THREADS 1
/* Has gcc/MSVC atomic intrinsics */
#define LLVM_HAS_ATOMICS 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment