Questions tagged [build-system]
Build systems are tools used for compiling source code and assembling/packaging the results.
70 questions
2votes
3answers
786views
Why don't languages auto import everything based on namespace?
This is basically a continuation of "Why don't languages auto import everything?" but with a slightly altered premisse: Say we have a language like C++ / python that uses namespaces to ...
-3votes
1answer
222views
How to organise the correct handling of versions of binaries
I'm currently working in a firm, based on an executable, who uses different DLLs. There are several issues: Everybody builds the binaries on his own PC. The executables (*.exe and *.dll files) are ...
2votes
0answers
318views
How to provide clang-format config for IDE and build system of multiple projects?
We have several C++ projects that use clang-format and clang-tidy and other similar tools. Currently the config files for these tools are stored in each project's Git repository. Now I'm trying to put ...
5votes
2answers
2kviews
Best practice for storing third party tools
Currently my company is storing the installers (and in some cases the installed directory copy) for some open source third party tools that our build uses. Were storing these files in our github repo ...
-3votes
3answers
84views
How to Validate Output Binary During/After Compilation on Platform without ECC Memory [closed]
On a platform with ECC memory, you can assure the compiled binary is 100% legit with EDAC daemon. (single-bit error will be corrected automatically, and multi-bit error will be logged so you can just ...
0votes
0answers
46views
How could i reduce compilation time without using less templates? [duplicate]
I am part of a small project that is doing some research code in C++. Our work involves a lot of mathematics and due to its nature we often need to temporarily use other people's code/libraries. To ...
1vote
4answers
154views
Build systems/development environments allowing alternate/backup dependencies
In most build systems and development environments, there tends to be exactly one dependency tree per project - each module depends on a constant set of other modules to do its job, with the only ...
0votes
2answers
193views
What is the current definition of continuous integration?
It seems that there are at least two possible definitions of continuous integration: Frequent merging of a codebase to a common codebase (e.g. daily merge to the main branch of a VCS server). ...
-6votes
1answer
179views
Why are build tools, package repositories and programming languages, all so strongly coupled? [closed]
As the title says, I've been noticing this trend that have been all along the evolution of programming languages. Each one has had a niche build tool and a dedicated package/lib repository system. Its ...
0votes
1answer
86views
Modernizing a legacy source control / deployment infrastructure
I've got a large, old application with a clunky, extremely manual deployment process (essentially, tribal knowledge combined with random scripts / build jobs scattered across servers). The application ...
0votes
0answers
144views
How much should we archive for reproducible builds?
A few alternative twists on the question title to contextualize further: What to archive of the "sources" for a given software build? Should I include all transitive packages in my ...
2votes
3answers
4kviews
When to increment build number?
I'm reading a book which says: The third number, 719, indicates the build of the assembly. If your company builds its assembly every day, you should increment the build number each day as well. so it ...
1vote
2answers
352views
Can a build system be used effectively as a unit test runner?
The way of running automated tests (specifically, a large number of small, «atomic» unit and regression checks) that I am used to is to maintain a monolithic executable built on top of a test ...
1vote
2answers
93views
Automate clearing everything (database tables, log files, etc.) and starting from a fresh state during development?
The Issue When I'm fixing a bug during web development projects, I often find myself cleaning out the existing (tainted) database records, clearing out log files, etc. I do this so that I can start ...
3votes
3answers
1kviews
How is a reproducible build guaranteed with version ranges in NPM?
I know with NPM caret, tilde and some logical operators can be used to specify version ranges. This post explains a bit on how this works. The problem now is I find it hard to reconcile the use of ...