From 754935418133ece1f51d1857a61d538797c34891 Mon Sep 17 00:00:00 2001 From: Preston Gurd Date: Mon, 7 May 2012 19:38:40 +0000 Subject: =?UTF-8?q?Make=20IntelJITEvents=20and=20OProfileJIT=20as=20option?= =?UTF-8?q?al=20libraries=20and=20add=20optional=20library=20support=20to?= =?UTF-8?q?=20the=20llvm-build=20tool:=20=20-=20Add=20new=20command=20line?= =?UTF-8?q?=20parameter=20to=20llvm-build:=20=E2=80=9C--enable-optional-li?= =?UTF-8?q?braries=E2=80=9D=20=20-=20Add=20handing=20of=20new=20llvm-build?= =?UTF-8?q?=20library=20type=20=E2=80=9COptionalLibrary=E2=80=9D=20=20-=20?= =?UTF-8?q?Update=20Cmake=20and=20automake=20build=20systems=20to=20pass?= =?UTF-8?q?=20correct=20flags=20to=20llvm-build=20=20=20=20based=20on=20co?= =?UTF-8?q?nfiguration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Patch by Dan Malea! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156319 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.config.in | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'Makefile.config.in') diff --git a/Makefile.config.in b/Makefile.config.in index 33fbb2a..2ffdacb 100644 --- a/Makefile.config.in +++ b/Makefile.config.in @@ -351,3 +351,10 @@ INTEL_JITEVENTS_LIBDIR := @INTEL_JITEVENTS_LIBDIR@ # Flags to control building support for OProfile JIT API USE_OPROFILE := @USE_OPROFILE@ + +ifeq ($(USE_INTEL_JITEVENTS), 1) + OPTIONAL_COMPONENTS += IntelJITEvents +endif +ifeq ($(USE_OPROFILE), 1) + OPTIONAL_COMPONENTS += OProfileJIT +endif -- cgit v1.1