mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-01 16:33:37 +01:00
3d6630be49
x86 and x86_64 on UNIX systems. Only OS X 10.6.2 (x86_64) and 32bit CentOS 5.2 with gcc 4.1.2 were tested. ARM UNIX build triggered failure motivating this modification, as it seems that the ARM ABI does not support _Unwind_GetIP(...), _Unwind_SetGR(...), and _Unwind_SetIP(...). From doing a quick browse of: http://infocenter.arm.com/help/topic/com.arm.doc.ihi0038a/IHI0038A_ehabi.pdf, it seems as if all other exception related apis are supported. Looks like the port can be done to ARM. Thanks to Xerxes Rånby <xerxes@zafena.se> for pointing out this error. llvm-svn: 96949
29 lines
712 B
Makefile
29 lines
712 B
Makefile
##===- examples/Makefile -----------------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file is distributed under the University of Illinois Open Source
|
|
# License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
LEVEL=..
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
|
|
|
|
ifeq ($(HAVE_PTHREAD),1)
|
|
PARALLEL_DIRS += ParallelJIT
|
|
endif
|
|
|
|
ifeq ($(LLVM_ON_UNIX),1)
|
|
ifeq ($(ARCH),x86)
|
|
PARALLEL_DIRS += ExceptionDemo
|
|
endif
|
|
ifeq ($(ARCH),x86_64)
|
|
PARALLEL_DIRS += ExceptionDemo
|
|
endif
|
|
endif
|
|
|
|
include $(LEVEL)/Makefile.common
|