Commit Graph

5 Commits

Author SHA1 Message Date
Dominique Martinet
b894619d1b Speed up parallel builds
- make should be $(MAKE)
 - add + in front of rules spawning long-lasted make process in a
subshell. (This would not be needed with $(MAKE) -C .. target, but our
makefiles do not handle that because they use $(PWD))
 - split the main 'all' rule as all 4 targets are independant
 - fix dependencies where appropriate for parallelism

Extra, not speed-related changes:
 - remove some double-colon for targets as they do not need it

This cuts build time from 5s to 1.5s on a laptop with -j4, and more
importantly from 85s to 35s on a KNL node.
As a bonus, the fixed dependencies removes the need to clean before
rebuilding all the time. Probably.
2017-10-13 10:02:11 +09:00
Takayuki Okamoto
325082a571 adapt "out of tree build" for arm64 2017-09-11 15:29:53 +09:00
Masamichi Takagi
8129dec2f7 Fix out-of-tree build
<build>/ihk/cokernel/Makefile.common is not found when
<build>/mckernel/kernel/Makfile tries to perform
"Make -C <build>/ihk/{cokernel,ikc}" from mckernel/kernel
2016-12-01 16:44:01 +09:00
bgerofi@riken.jp
658ff759ef build scripts: support for separate build and source directories 2014-10-20 18:27:24 +09:00
Tomoki Shirasawa
161b3faefe support configure/make 2013-02-18 12:07:32 +09:00