Enable JIT/MCJIT unit tests for targets with JIT support.
authorJyotsna Verma <jverma@codeaurora.org>
Fri, 5 Apr 2013 14:26:16 +0000 (14:26 +0000)
committerJyotsna Verma <jverma@codeaurora.org>
Fri, 5 Apr 2013 14:26:16 +0000 (14:26 +0000)
Change unittests/ExecutionEngine/Makefile to include Makefile.config before
TARGET_HAS_JIT flag is checked.

Fixes bug: http://llvm.org/bugs/show_bug.cgi?id=15669

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@178871 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/ExecutionEngine/Makefile

index c779a6a47c14ff13af9a8294b2e8b11bc47a7716..38e667ff98885f2264a23a53e9c35f96f6786353 100644 (file)
@@ -11,9 +11,10 @@ LEVEL = ../..
 TESTNAME = ExecutionEngine
 LINK_COMPONENTS :=interpreter
 
+include $(LEVEL)/Makefile.config
+
 ifeq ($(TARGET_HAS_JIT),1)
-       PARALLEL_DIRS = JIT MCJIT
+  PARALLEL_DIRS = JIT MCJIT
 endif
 
-include $(LEVEL)/Makefile.config
 include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest