Parallel building harnesses the advantages of multi-core processors to speed up compilation and building, by compiling several files in parallel.
Questions tagged [parallel-builds]
58 questions
1
vote
1 answer
maven multi threaded build leading to OverConstrainedVersionException
I am using maven-3.2.3 ,maven-depedency-plugin-3.0.2 and maven-assembly-plugin-3.0.0 all of which are thread safe, but when running maven build with 4 threads
(mvn clean install -T 4),
I'am intermittently…

Optimus
- 697
- 2
- 8
- 22
1
vote
1 answer
Run-time dependency on generated file in CMake
I have a test (add_executable(MyTest ...)) which needs a file at run-time. The file is generated using a custom command. I would like to model that run-time dependency in CMake.
Currently, there is a build-time dependency on the generated file using…

user1083696
- 97
- 9
1
vote
2 answers
msbuild - how to do task batching (same project) in parallel
Let's say I have this definition

Bob
- 4,576
- 7
- 39
- 107
1
vote
1 answer
Confidence enabling Build in Parallel in VSTS
I'm considering enabling:
I'd like to know how the build is happening in Visual Studio locally, with the theory that if it's building fine locally in parallel I should be safe enough in VSTS.
In ye'olden days building in parallel was something to…

Alex KeySmith
- 16,657
- 11
- 74
- 152
1
vote
2 answers
Typescript parallel build
Background:
We have several ASP.NET projects with common Core. Static from Core is copied to all other projects. We've added TypeScript to all our projects.
Here is how TypeScript build looks in csproj:

VorobeY1326
- 782
- 10
- 25
1
vote
1 answer
How can I parallelize my builds across build agents?
I am currently running builds for 15 SKU's of the same product. In serial a full build of all SKU's takes just under three hours.
I have the resources to create a build farm that can handle the load of 1 build requiring 15 build agents and would…

d3r3kk
- 3,465
- 3
- 18
- 22
1
vote
1 answer
Jenkins with Parallel Builds
I have a small Jenkins VM running for our shop, keep it's ever-watchful eye on about a dozen github projects. It's currently configured with 3 executors (it's only a 4-cpu VM), and chugs along happily.
However, 2 of these projects are very big…

Yeraze
- 3,269
- 4
- 28
- 42
1
vote
0 answers
Parallel builds in Eclipse collide
I have two C++ Eclipse projects (each pointing to different sandboxes of version-ed code) imported in separate workspaces. I am launching two parallel sessions of eclipse on different machines and then want to build these two projects in parallel.…

user1524415
- 11
- 2
0
votes
1 answer
Maven 3 Parallel Gmaven Sporadic failure
My Maven 3.0.4 parallel build fails intermittently on the following error:
[ERROR] Failed to execute goal org.codehaus.gmaven:gmaven-plugin:1.2:compile (default) on project opcenter: No providers found matching selection: 1.7 -> [Help 1]
…

Guy Segev
- 41
- 5
0
votes
0 answers
Time individual linking operation in Ninja
Is there a way to time individual ninja building and linking steps ?
Trying to get timings for each ninja operation being performed, but with verbose only the command being executed is shown and the time took is what I am searching for

Lalith Kumar V
- 13
- 3
0
votes
1 answer
How to reuse files from workspaces from different parallel stages?
I have a Jenkins pipeline that runs several stages in parallel. Some of those stages produce intermediate build files that I'd like to reuse in a later step:
pipeline {
stages {
stage("Parallel build") {
parallel {
stage("A") {…

Jorn
- 20,612
- 18
- 79
- 126
0
votes
0 answers
Webpack parallelism feature not actually work in parallel
I implemented Webpack build for multiple configuration work in parallel. the feature gets multiple config bundles, just as described in Webpack docs here. However, the build is not spreading on multiple CPUs, it runs 2+ parallel builds but it…

Nisim Joseph
- 2,262
- 22
- 31
0
votes
3 answers
Fast, easy to maintain, and parallelizable way to build java code?
I'm working on a build system that has bad practices piled on other bad practices for a long time and I'm in the process of re-writing the build. The languages involved are C/C++, Fortran, Ada, and Java and for the time being I'm sticking with GNU…

Brian Vandenberg
- 4,011
- 2
- 37
- 53
0
votes
2 answers
Disable paralled build for a specific target
I need to disable parallel run for a single target. It is a test that verifies if program doesn't create some random or incorrectly named files. Any other file that is build in the meantime fails this test.
I found this advice on SCons FAQ:
Use the…

Piotr Siupa
- 3,929
- 2
- 29
- 65
0
votes
0 answers
Building a C program in parallel
I have a medium-size project which consists of many *.c unit files.
In a "normal" compilation exercise, the program is built from its *.o object files, which are passed as pre-requisite of the main program in the Makefile recipe. This works well for…

Cyan
- 13,248
- 8
- 43
- 78