1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00
cdt/build
Morten Kristiansen 10428dd53a [Bug 340300] Fix parallel make when using pre-build steps
Pre-build will always run in parallel to compilation of source files
unless each and every source file depends on pre-build. Also, when
parallel build was enabled, the "Make build target" under "Workbench
Build Behavior" was ignored. Instead of doing make -j all, Eclipse ran
make -j pre-build main-build. While the intentions are good, make will
attempt to build pre-build and main-build in parallel for previous
stated reasons.

This patch changes two things:

1. Eclipse will consistently respect the "Workbench Build Behavior" for
both single- and multi-process build.
2. The generated makefile is changed to guarantee pre-build is run
first.

   Changed from

       all: pre-build main-build

   to

       all:
           $(MAKE) --no-print-directory pre-build
           $(MAKE) --no-print-directory main-build

Change-Id: Icf3a1057ee3b3cc8a04a433820492a4f469e17dd
Signed-off-by: Morten Kristiansen <millibit@gmail.com>
2017-01-03 08:26:18 -04:00
..
org.eclipse.cdt.autotools-feature Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.autotools.core Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.autotools.docs Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.autotools.source-feature Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.autotools.tests Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.autotools.ui Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.autotools.ui.tests Bug 509248: Disable unstable/intermittent SWTBot based tests 2016-12-14 19:44:08 +00:00
org.eclipse.cdt.build.gcc.core Bug 503153.Fixed NPE in GCCToolChain.getDefaultScannerInfo() 2016-12-15 10:44:05 -04:00
org.eclipse.cdt.cmake-feature Fix cmake feature to use license feature for proper license. 2016-11-30 21:45:30 +02:00
org.eclipse.cdt.cmake.core Fix NPE in CMake clean when generator not selected. 2016-11-21 15:31:06 -05:00
org.eclipse.cdt.cmake.ui Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.gnu.build-feature Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.gnu.build.source-feature Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.make.core Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.make.core.tests Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.make.ui Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.make.ui.tests Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.managedbuilder.core [Bug 340300] Fix parallel make when using pre-build steps 2017-01-03 08:26:18 -04:00
org.eclipse.cdt.managedbuilder.core.tests [Bug 340300] Fix parallel make when using pre-build steps 2017-01-03 08:26:18 -04:00
org.eclipse.cdt.managedbuilder.gnu.ui Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.managedbuilder.ui Update version to 9.3.0 2016-11-15 20:32:51 -05:00
org.eclipse.cdt.managedbuilder.ui.tests Update version to 9.3.0 2016-11-15 20:32:51 -05:00