Questions tagged [parallel-builds]

Parallel building harnesses the advantages of multi-core processors to speed up compilation and building, by compiling several files in parallel.

58 questions
0
votes
1 answer

vcvars file access denied in parallel workers

I get this kind of error sometimes in gitlab ci-cd worker log. How can I fix it and set up parallel builds for MSVC projects? ********************************************************************** ** Visual Studio 2019 Developer Command Prompt…
0
votes
1 answer

c++ parallel build behavior in visual studio

I observe that a C++ visual studio (VS) 2017 solution with multiple projects that have multiple source files may not be built in parallel within a single project. On the other hand, the projects are always built in parallel. Particularly, I also…
user3677630
  • 635
  • 6
  • 14
0
votes
1 answer

QMake / jom force extra MIDL compiler to run before RC

I'm converting an old OCX project to QMake (as it's getting the "new" standard in my company). In my Button.pro file, I add the MIDL compiler by the means of idl_c.output = $${DESTDIR}/${QMAKE_FILE_BASE}.tlb idl_c.input = IDL idl_c.commands =…
NonoxX
  • 134
  • 10
0
votes
0 answers

Why does my application repeat some actions 4 times?

I use Visual Studio 2017. I work with Windows Form Application, Visual C#. There is a timer with 30 seconds interval in my program. Timer starts at Form_Load event method. Actually i use form load method with some other buttons, new settings have…
Bee-
  • 64
  • 6
0
votes
1 answer

Maven parallel build wrong order

I'm trying to speed up my maven build with parallel processing. The project is multi-modular with nested modules. The structure is like: parent m1 m2 sub-parent (a project that doesn't generate an artifact, but a folder with resources for m3 to…
Imaskar
  • 2,773
  • 24
  • 35
0
votes
0 answers

How can I make the b2 builder to default to -jN?

I want to do boost builds in parallel by default, e.g. instead of ./b2 -j4 I want to just invoke ./b2 and have it use -j4, or -jN for some other relevant N, itself. Can I do this? I was thinking maybe I could put in tools/build/src/user-config.jam…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
0
votes
1 answer

How to make only some of the projects building parallel?

I'm working a very big maven project, which has more than 400 modules. In order to make it build faster: mvn install -T4 Which fails, because some of the modules are dependent with each other, they must be placed together. But most of the other…
Freewind
  • 193,756
  • 157
  • 432
  • 708
0
votes
1 answer

overloading directory structure for maven

I'm working with Jenkins & Maven I'm looking for a way that would also me not to download commonly used artifacts like org.apache, org.springframework... but will allow me to redownload/rebuild only my own company artifacts. I am aware of the…
0
votes
2 answers

can we select specific build agents for different configuration's(Release or Debug) for parallel builds

I am using Parallel Template(from Jim Lamb's Blog) to run builds for two configuration one for "Release" second for "Debug" I have two agents on my controller. Every time I run this build it selects for the available agent from the controller and…
Prakash
  • 579
  • 4
  • 14
0
votes
1 answer

Set make to always do 8 jobs simultaneously

Is there a way to set make to always do 8 jobs simultaneously, akin to 'make -j 8', but in a permanent way, even between restarts of the computer? Some environment variable, perhaps? I'm using Ubuntu.
sashoalm
  • 75,001
  • 122
  • 434
  • 781
0
votes
0 answers

Is nbm-maven-plugin safe to be used for maven parallel build?

I have a multi module project that uses nbm-maven-plugin. I'm currently testing out the parallel build feature from maven 3. Very happy with the result as it improves the speed by almost 60% :) The problem is, it doesn't seem to be marked as thread…
ceilfors
  • 2,617
  • 23
  • 33
0
votes
1 answer

Maven aggregate POM and parallel build

During non-parallel build aggregate POMs are built last provided there is no parent-child relationships between it and its submodules (correct me if I am wrong). Is that preserved during parallel builds? Can I assume that root POM is built after all…
Ivan Dubrov
  • 4,778
  • 2
  • 29
  • 41
-1
votes
1 answer

xcode build error when building in parallel

in a CI/CD system, when multiple concurrent xcode processes run in parallel on the same mac-agent, errors occur with the processing of the shared cache. Error example: ❌ fatal error: malformed or corrupted AST file: 'could not find file…
1 2 3
4