aboutsummaryrefslogtreecommitdiff
path: root/runtime/tools
diff options
context:
space:
mode:
authorAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-29 15:37:15 +0000
committerAndrey Churbanov <Andrey.Churbanov@intel.com>2015-01-29 15:37:15 +0000
commit94f826e819b948ca7f4048d9fa27a900cee76aa0 (patch)
tree5afa4a24e089c5bd04e4ed1ec989ee7bf2f19d81 /runtime/tools
parent9236d9713a16ed339e6da70614779368b10fd1fe (diff)
adding the jobs variable for parallel build
git-svn-id: https://llvm.org/svn/llvm-project/openmp/trunk@227447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime/tools')
-rw-r--r--runtime/tools/common.inc3
-rw-r--r--runtime/tools/src/common-rules.mk4
2 files changed, 7 insertions, 0 deletions
diff --git a/runtime/tools/common.inc b/runtime/tools/common.inc
index e80b68f..db6d2a9 100644
--- a/runtime/tools/common.inc
+++ b/runtime/tools/common.inc
@@ -101,6 +101,9 @@ See the Tools tab at http://software.intel.com/mic-developer)
endif
endif
+# number of parallel build jobs
+jobs?=1
+
export BUILD_COMPILER := $(compiler)
diff --git a/runtime/tools/src/common-rules.mk b/runtime/tools/src/common-rules.mk
index a63aa0b..44f97c2 100644
--- a/runtime/tools/src/common-rules.mk
+++ b/runtime/tools/src/common-rules.mk
@@ -158,6 +158,10 @@ expand-vars = $(perl) $(tools_dir)expand-vars.pl --strict $(ev-flags) $< $@
endif
endif
+ifneq "$(pdb_file)" ""
+$(pdb_file) : $(lib_file)
+endif
+
%.dbg : %$(dll) .rebuild
$(target)
ifeq "$(arch)" "mic"