1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00
cdt/build/org.eclipse.cdt.managedbuilder.core
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
..
.settings Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
META-INF Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
schema Bug 461545 Add support of attribute isDisplayable to the Build Property 2016-02-01 09:51:05 -05:00
src/org/eclipse/cdt [Bug 340300] Fix parallel make when using pre-build steps 2017-01-03 08:26:18 -04:00
.classpath Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
.options Add missing buildModel tracing option 2015-10-22 15:24:47 -04:00
.project RESOLVED - bug 273636: changes to enable MBS on EFS projects 2009-04-28 12:02:33 +00:00
about.html Bug 189539 - Fix dates on about.html files to reflect projected release date. 2007-05-29 03:48:49 +00:00
build.properties Remove reference to java environment in build.properties 2015-09-29 08:57:47 -04:00
plugin.properties Properties spelling 2013-08-16 16:29:43 -04:00
plugin.xml Bug 491619 - Choosing a C++ dialect should reindex 2016-05-13 09:54:29 -04:00
pom.xml Update version to 9.3.0 2016-11-15 20:32:51 -05:00