1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00
cdt/build/org.eclipse.cdt.managedbuilder.core.tests
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
icons Test changes for Symbian (Lars & Bala) patch for Shared Tool Options support 2005-06-06 15:53:20 +00:00
META-INF Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
resources [Bug 340300] Fix parallel make when using pre-build steps 2017-01-03 08:26:18 -04:00
suite/org/eclipse/cdt/managedbuilder Bug 505868: Split clean command when cleaning lots of files 2016-10-14 09:56:25 -04:00
testdata 197468: apply fix 2008-01-15 17:08:11 +00:00
tests/org/eclipse/cdt Bug 505868: Split clean command when cleaning lots of files 2016-10-14 09:56:25 -04:00
.classpath Move the rest of the CDT plugins to java 8 2016-06-22 14:51:43 -04:00
.project Moved the managed build tests from the core tests package to here 2004-04-23 15:21:23 +00:00
about.html 1. About.html update for the managed builder plug-ins 2006-05-12 19:46:24 +00:00
build.properties update copyrights 2009-05-27 15:48:21 +00:00
plugin.properties externalize Gnu Make Builder's name (bug 227369) 2008-04-16 16:03:39 +00:00
plugin.xml bug 404913: Built-In Settings Provider should recognize extra gcc 2013-07-24 14:05:13 -04:00
pom.xml Update version to 9.3.0 2016-11-15 20:32:51 -05:00