Re: [platform-dev] Parallel Builds

2021-01-27 Thread Lars Vogel
IIRC Java still defines the workspace locking rule, hence its build cannot run in parallel. For PDE I think Mickael enabled parallel builds via https://bugs.eclipse.org/bugs/show_bug.cgi?id=531555 For JDT I think the work is discussed in https://bugs.eclipse.org/bugs/show_bug.cgi?id=531554 and htt

Re: [platform-dev] Parallel Builds

2021-01-27 Thread Alex Blewitt
IIRC the parallel builds works if you have independent projects. So if you have B->A and C->A, then you can build A, then build B&C in parallel. If you have C->B->A then there won’t be any parallelisation. ISTR that B is blocked until A is built completely, even if parts of B could go ahead fro

Re: [platform-dev] Parallel Builds

2021-01-22 Thread Wim Jongman
Cool. I am new to this too. I have activated it (set to 5 (5 jobs?). But a full java build takes just as long and I do not see multiple build jobs. I have a 270 project workspace. For normal 99% work, the incremental build is working fine. It is slow (or rather, it takes a long time) when a full

Re: [platform-dev] Parallel Builds

2021-01-22 Thread Mickael Istria
On Fri, Jan 22, 2021 at 1:04 PM Alex Blewitt wrote: > Can we update the default to ‘true’ or ‘max processors’ or ‘half > processors’ or similar, so we can enable it out of the box for every > project build type? If not, what’s stoppping us from doing so? > When this feature was introduced some y

Re: [platform-dev] Parallel Builds

2021-01-22 Thread Alex Blewitt
I think if we have a default of ‘max parallel builds: 1’ (or alternatively, ‘parallel builds: false’ and no-one knows about the feature, it’s as good as non existent to those who use Eclipse. Can we update the default to ‘true’ or ‘max processors’ or ‘half processors’ or similar, so we can enab

Re: [platform-dev] Parallel Builds

2021-01-22 Thread Mickael Istria
On Fri, Jan 22, 2021 at 12:03 PM Peter Kriens wrote: > That said, practice in my world is that I do not see anybody using it. > From my perspective it still looks highly experimental in the Java world, > which for me is the 'this' and it looks like that 'this' could have some > nudges to move it

Re: [platform-dev] Parallel Builds

2021-01-22 Thread Peter Kriens
> On 21 Jan 2021, at 12:45, Mickael Istria wrote: > Can you please elaborate about what you mean by "this" and by "forward"? ;) Well, your description indicates that it is further along than I thought after trying to find documentation and going through the sources. That said, practice in my

Re: [platform-dev] Parallel Builds

2021-01-21 Thread Mickael Istria
Hi, On Thu, Jan 21, 2021 at 12:29 PM Peter Kriens wrote: > I wonder if there are any people actively working on this > I'm not aware of ongoing work on this topic. However, it's more or less feature-complete from Platform POV (there may be bugs to report and fix, but nothing new is planned nor

[platform-dev] Parallel Builds

2021-01-21 Thread Peter Kriens
I am Peter Kriens, one of the leads of Bndtools. I am currently looking how to parallelize the Bndtools build. bnd is a _headless_ build _model_ that is used to program the _driver_. Bndtools is such a drivers, as is Gradle, ant, and a command line application. The problem we're running into i