mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-30 07:22:55 +01:00
a1470f81ae
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. llvm-svn: 23003
19 lines
519 B
Makefile
19 lines
519 B
Makefile
##===- examples/ParallelJIT/Makefile -----------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file was developed by Reid A. Spencer and is distributed under
|
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
LEVEL = ../..
|
|
TOOLNAME = ParallelJIT
|
|
EXAMPLE_TOOL = 1
|
|
|
|
# Enable JIT support
|
|
LLVMLIBS := JIT
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
LIBS += -lpthread
|