summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-05-17 22:55:35 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-05-17 22:55:35 +0000
commitdd1aac36a190c977cfd5433816fb78ed36c7101c (patch)
treef1938805b8754068adeabe1d680b0de8ef627b72
parent84cc6dbd250c9422bb429c42f29442e2c516b666 (diff)
downloadllvm-dd1aac36a190c977cfd5433816fb78ed36c7101c.tar.gz
llvm-dd1aac36a190c977cfd5433816fb78ed36c7101c.tar.bz2
llvm-dd1aac36a190c977cfd5433816fb78ed36c7101c.tar.xz
Make some changes suggested by Chris:
1. Remove the LLVM_DO_NOT_BUILD feature (not needed any more) 2. Ensure that lib/VMCore gets built first. This needs to be done because VMCore now uses tblgen to generate the Intrinsics header which are needed in other libraries. In parallel builds, this can cause problems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28374 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--Makefile2
-rw-r--r--Makefile.rules16
-rw-r--r--lib/Makefile4
3 files changed, 7 insertions, 15 deletions
diff --git a/Makefile b/Makefile
index 1aa3303979..72f6e934c9 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@
#
#===------------------------------------------------------------------------===#
LEVEL = .
-DIRS = lib/System lib/Support utils lib
+DIRS = lib/System lib/Support utils lib/VMCore lib
include $(LEVEL)/Makefile.config
diff --git a/Makefile.rules b/Makefile.rules
index aa61380aaf..b3b10e557f 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -472,9 +472,7 @@ $(RecursiveTargets)::
$(MKDIR) $$dir; \
$(CP) $(PROJ_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
fi; \
- if [ ! -f $$dir/LLVM_DO_NOT_BUILD ]; then \
- ($(MAKE) -C $$dir $@ ) || exit 1; \
- fi ; \
+ ($(MAKE) -C $$dir $@ ) || exit 1; \
done
endif
@@ -489,9 +487,7 @@ $(RecursiveTargets)::
$(MKDIR) $$dir; \
$(CP) $(PROJ_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
fi; \
- if [ ! -f $$dir/LLVM_DO_NOT_BUILD ]; then \
- ($(MAKE) -C $$dir $@ ) || exit 0; \
- fi ; \
+ ($(MAKE) -C $$dir $@ ) || exit 0; \
done
endif
@@ -517,9 +513,7 @@ $(ParallelTargets) :
$(MKDIR) $(@D); \
$(CP) $(PROJ_SRC_DIR)/$(@D)/Makefile $(@D)/Makefile; \
fi; \
- if [ ! -f $$dir/LLVM_DO_NOT_BUILD ]; then \
- $(MAKE) -C $(@D) $(subst $(@D)/.make,,$@) ; \
- fi
+ $(MAKE) -C $(@D) $(subst $(@D)/.make,,$@) ;
endif
#---------------------------------------------------------
@@ -537,9 +531,7 @@ $(RecursiveTargets)::
$(MKDIR) $$dir; \
$(CP) $(PROJ_SRC_DIR)/$$dir/Makefile $$dir/Makefile; \
fi; \
- if [ ! -f $$dir/LLVM_DO_NOT_BUILD ]; then \
- ($(MAKE) -C$$dir $@ ) || exit 1; \
- fi ; \
+ ($(MAKE) -C$$dir $@ ) || exit 1; \
fi \
done
endif
diff --git a/lib/Makefile b/lib/Makefile
index f1eb8b3330..7a05dfd133 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -8,8 +8,8 @@
##===----------------------------------------------------------------------===##
LEVEL = ..
-DIRS = VMCore Analysis Transforms AsmParser Bytecode CodeGen Target \
- ExecutionEngine Debugger Linker
+PARALLEL_DIRS = VMCore Analysis Transforms AsmParser Bytecode CodeGen Target \
+ ExecutionEngine Debugger Linker
include $(LEVEL)/Makefile.common