56 questions
2
votes
1
answer
304
views
Prevent parallel builds in CMake project
I have a top level CMakeLists.txt file that includes 2 sub directories. It builds properly as long as -j or --parallel are not on the cmake command line. The CMakeLists.txt file documents the issue. ...
0
votes
1
answer
494
views
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("...
0
votes
1
answer
272
views
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 ...
1
vote
1
answer
131
views
Better parallelization of jenkins build nodes
I have a Jenkins jobs that runs as so (very simplified but the structure is there):
#!/usr/bin/env groovy
node('my_label'){
timestamps{
build()
postBuild()
}
}
def build(){
parallel{
...
0
votes
2
answers
423
views
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 ...
1
vote
0
answers
349
views
cmake target created with ADD_CUSTOM_TARGET() generated multiple times in parallel mode
I have project name libtld where I first create a tool¹:
project(tld_parser)
add_executable(${PROJECT_NAME}
../tools/tldc.cpp
tld_compiler.cpp
tld_file.cpp
tld_strings.c
)
Then I use ...
0
votes
0
answers
486
views
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 ...
1
vote
0
answers
310
views
Running parallel builds in codebuild
I am trying to run commands in parallel in codebuild using the batch-list function, however, I cannot get it to work as intended. The commands are getting executed sequentially and not in parallel. ...
0
votes
1
answer
282
views
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?
**********************************************************************
** ...
7
votes
2
answers
2k
views
Run maven test in parallel without waiting for sibling module dependencies
I have a multi-module maven project in which the modules have quite a few dependencies between them. I have tried running my tests in parallel, but since the modules are not very well thought off and ...
0
votes
1
answer
1k
views
c++ parallel build behavior in visual studio [duplicate]
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 ...
0
votes
1
answer
330
views
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}/${...
0
votes
0
answers
146
views
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 ...
4
votes
2
answers
2k
views
Makefile: why always use `$(MAKE)` instead of `make`?
I usually use a high level build system like cmake for building my C/C++ code. But for various reasons I am using straight GNU make.
I am doing recursive build where each directory has a makefile.
I ...
1
vote
1
answer
2k
views
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 ...