1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-23 17:05:26 +02:00
cdt/build/org.eclipse.cdt.managedbuilder.core.tests/resources/test30Projects
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
..
CDTFortranTest1 bug 212596: JUnit failures in cdt.managedbuilder.test.suite 2009-11-03 23:31:50 +00:00
CDTFortranTest2 Change output to fix failing tests. 2015-05-08 09:04:37 -04:00
copyandDeploy Change output to fix failing tests. 2015-05-08 09:04:37 -04:00
deleteFile bug 232373: cdt generated make file has options with no spaces between option and argument 2010-10-24 04:06:38 +00:00
inputTypeOption bug 232373: cdt generated make file has options with no spaces between option and argument 2010-10-24 04:06:38 +00:00
linkedFolder bug 232373: cdt generated make file has options with no spaces between option and argument 2010-10-24 04:06:38 +00:00
linkedLib30 bug 232373: cdt generated make file has options with no spaces between option and argument 2010-10-24 04:06:38 +00:00
multiResConfig Change output to fix failing tests. 2015-05-08 09:04:37 -04:00
noFilesToBuild Test for PR 80185 - output message to console when there are no source files to build 2005-05-27 03:46:34 +00:00
preAndPostBuildSteps [Bug 340300] Fix parallel make when using pre-build steps 2017-01-03 08:26:18 -04:00
rcbsBasicTest bug 232373: cdt generated make file has options with no spaces between option and argument 2010-10-24 04:06:38 +00:00
singleFileExe bug 232373: cdt generated make file has options with no spaces between option and argument 2010-10-24 04:06:38 +00:00
test with spaces Change output to fix failing tests. 2015-05-08 09:04:37 -04:00
test30_1 bug 232373: cdt generated make file has options with no spaces between option and argument 2010-10-24 04:06:38 +00:00
test30_2 Change output to fix failing tests. 2015-05-08 09:04:37 -04:00
TestATO bug 232373: cdt generated make file has options with no spaces between option and argument 2010-10-24 04:06:38 +00:00
testFileWithNoExtension Bug 468417 2015-06-24 21:54:00 -04:00
testMacroSupportInBuildDefinitions bug 212596: JUnit failures in cdt.managedbuilder.test.suite 2009-11-03 23:31:50 +00:00
twoFileSO bug 232373: cdt generated make file has options with no spaces between option and argument 2010-10-24 04:06:38 +00:00