1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-15 20:25:46 +02:00
cdt/build
Christian Walther 32a6ad1f4d Bug 575702: Nondeterministic makefile ordering (prelude)
This fixes a small and rarely hit in practice regression regarding
nondeterministic ordering in makefile output introduced in 15c29eb (bug
505882).

Multiple values for a build output variable were previously output in
definition order. Now they are generated by iterating over a HashSet,
which does not have a deterministic iteration order. Use a TreeSet for
output in a consistently sorted order instead.

Output variables with multiple values are rare (most tools generate one
output file of a particular type) and this case was not exercised in the
existing unit tests. Modify one such that it does (even if in a somewhat
contrived situation). Of note, ${OUTPUT} cannot be used in the
commandLinePattern for such a tool because it squashes the multiple
values into a single quoted file name - misuse ${FLAGS} instead.

Change-Id: Iaa28525c21d74c87dd4d72a03e334ed0e5576727
Signed-off-by: Christian Walther <walther@indel.ch>
2021-11-02 10:40:32 +01:00
..
org.eclipse.cdt.autotools-feature [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.autotools.core [releng] Update API Filters 2020-10-12 10:14:26 -04:00
org.eclipse.cdt.autotools.docs [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.autotools.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.autotools.ui Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.autotools.ui.tests Bug 573677: Use array based exec commands to avoid problems with spaces 2021-06-14 22:20:28 -04:00
org.eclipse.cdt.build.gcc.core Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.build.gcc.ui Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.core.autotools-feature [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.core.autotools.core [releng] Update API Filters 2020-10-12 10:14:26 -04:00
org.eclipse.cdt.core.autotools.ui Bug 572552 - CDT releng: update versions to 10.3.0 2021-04-04 16:17:25 -04:00
org.eclipse.cdt.gnu.build-feature [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.make.core Bug 575730 - New Make project should handle cleaning of gcov/gprof files 2021-08-31 18:08:28 -04:00
org.eclipse.cdt.make.core.tests Bug 551817: Fix legal docs - and automate their checks 2020-08-30 23:15:59 -04:00
org.eclipse.cdt.make.ui Bug 573619: Preserve UI settings in Build Targets (Make) view 2021-05-19 10:03:25 -04:00
org.eclipse.cdt.make.ui.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.managedbuilder.core Bug 575702: Nondeterministic makefile ordering (prelude) 2021-11-02 10:40:32 +01:00
org.eclipse.cdt.managedbuilder.core.tests Bug 575702: Nondeterministic makefile ordering (prelude) 2021-11-02 10:40:32 +01:00
org.eclipse.cdt.managedbuilder.gnu.ui Bug 505882: Fork the GnuMakefileGenerator into non-API 2021-10-18 15:30:08 -04:00
org.eclipse.cdt.managedbuilder.headlessbuilderapp Use the launch name in the help text 2021-05-28 19:23:00 +02:00
org.eclipse.cdt.managedbuilder.ui Bug 350499: Ask user to confirm toolchain change 2021-04-25 11:26:29 -04:00
org.eclipse.cdt.managedbuilder.ui.tests Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects 2020-08-30 20:02:41 -04:00
org.eclipse.cdt.meson-feature [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.meson.core Bug 575145 - Importing CMake/Meson Projects 2021-10-31 11:21:35 +00:00
org.eclipse.cdt.meson.docs [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
org.eclipse.cdt.meson.ui Bug 575145 - Importing CMake/Meson Projects 2021-10-31 11:21:35 +00:00
org.eclipse.cdt.meson.ui.editor [releng] Keep empty directory 2020-10-13 21:51:09 -04:00
org.eclipse.cdt.meson.ui.tests [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00
pom.xml [releng] Prepare for CDT 10.5.0 2021-09-26 20:23:17 -04:00