1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 00:45:28 +02:00
cdt/build/org.eclipse.cdt.managedbuilder.core.tests/resources
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
..
builderTests/regressions Bug 335476 - CDT build doesn't notice cdt.core.prefs is modified externally. Test added. 2011-01-26 18:09:48 +00:00
depCalcProjects Bug 468417 2015-06-24 21:54:00 -04:00
depLibsProjects Bug 210248 - test projects update, revert sample projects to MinGW 2011-11-24 12:30:37 -05:00
oldTypeProjects Bug 468417 2015-06-24 21:54:00 -04:00
test3xStdMakeProjects 1. Presering configuration order on load 2007-05-18 17:52:44 +00:00
test21Projects Change output to fix failing tests. 2015-05-08 09:04:37 -04:00
test30Projects [Bug 340300] Fix parallel make when using pre-build steps 2017-01-03 08:26:18 -04:00
test40Projects Bug 468417 2015-06-24 21:54:00 -04:00
testBuildDescriptionProjects/test30_1 Initial commit for the build description model functionality 2006-03-10 15:21:09 +00:00
testCleanProjects Bug 505868: Split clean command when cleaning lots of files 2016-10-14 09:56:25 -04:00
toolChainConversionProjects Remove the .settings directory from the TestProjectConversion .zip file. 2006-05-10 19:30:59 +00:00