[llvm-commits] CVS: llvm/examples/ParallelJIT/Makefile
Reid Spencer
reid at x10sys.com
Wed Aug 24 03:07:34 PDT 2005
Changes in directory llvm/examples/ParallelJIT:
Makefile updated: 1.2 -> 1.3
---
Log message:
For PR616: http://llvm.cs.uiuc.edu/PR616 :
These patches make threading optional in LLVM. The configuration scripts are now
modified to accept a --disable-threads switch. If this is used, the Mutex class
will be implemented with all functions as no-op. Furthermore, linking against
libpthread will not be done. Finally, the ParallelJIT example needs libpthread
so its makefile was changed to always add -lpthread to the link line.
---
Diffs of the changes: (+2 -0)
Makefile | 2 ++
1 files changed, 2 insertions(+)
Index: llvm/examples/ParallelJIT/Makefile
diff -u llvm/examples/ParallelJIT/Makefile:1.2 llvm/examples/ParallelJIT/Makefile:1.3
--- llvm/examples/ParallelJIT/Makefile:1.2 Tue Jul 12 17:00:29 2005
+++ llvm/examples/ParallelJIT/Makefile Wed Aug 24 05:07:21 2005
@@ -14,3 +14,5 @@
LLVMLIBS := JIT
include $(LEVEL)/Makefile.common
+
+LIBS += -lpthread
More information about the llvm-commits
mailing list