Questions tagged [build-system]
Build systems are tools used for compiling source code and assembling/packaging the results.
70 questions
2
votes
5
answers
1k
views
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 ...
2
votes
0
answers
354
views
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 ...
-3
votes
3
answers
100
views
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 ...
1
vote
4
answers
173
views
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 ...
-6
votes
1
answer
221
views
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 ...
0
votes
0
answers
155
views
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 ...
1
vote
2
answers
396
views
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 ...
3
votes
3
answers
1k
views
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 ...
5
votes
1
answer
1k
views
What is the right way to create a build system?
I'm a student, and I don't have much expirience with the building process.
In the last few days i've read something about CMake and others build system generators, but other than that I don't know ...
-1
votes
1
answer
515
views
How to organize the build system of a project as it starts including multiple languages across multiple operating systems and compilers?
I wrote a Music Player and Library in Java for GNU/Linux and Windows.
My build process is currently in ANT, but I intend to migrate away from that to something more modern after the next release. I'...
-3
votes
1
answer
323
views
Build Environment [closed]
In my current organisation, we have several different build environments (like toolset etc.) which are needed for compiling the code of different modules within the same product. I found this a big ...
1
vote
1
answer
2k
views
Why are unity builds faster given modern compilers?
Consider (using Visual C++ as an example):
cl /EHsc a.cpp b.cpp c.cpp
versus
cat a.cpp b.cpp c.cpp > unity.cpp
cl /EHsc unity.cpp
Why is the first variant slower given a modern compiler? I've ...
6
votes
2
answers
4k
views
Patch management in a multi repository environment
Here's the problem and how we currently manage this at work.
We have a buildout recipe that fetch multiple git repositories. Sometimes, it is necessary to patch a module from a repository that we don'...
1
vote
1
answer
238
views
"Nightly" a good place for experimental features?
In my day job I work on a tightly controlled project with features and overall scope ultimately decided on by committee.
Often the final features are the result of a single (or multiple) member's ...
5
votes
1
answer
341
views
How should Rails be set up with an SPA client like Aurelia?
Let's suppose I have a backend with API-only Rails. There is also a Javascript single-page application (Aurelia, but could be something else) talking to this API.
Should I keep these together, in the ...
1
vote
4
answers
268
views
Is there evidence to suggest that email notifications of build-breakage from a ci-server are industry standard?
In my organisation people regularly have 3K+ emails in their inbox. They're swamped and non-important email is ignored and lost. (Think big Corporation). Email ceases to be a useful medium in this ...
0
votes
1
answer
977
views
How should I prepare my SVG for production? [closed]
I have a project in Angular1.x using a lot of SVG files.
I have no idea what to do to SVG files to prepare them for production.
I don't want my page to invoke 50 calls to different SVG files. So ...
6
votes
1
answer
144
views
Best strategy for creating/updating CI build database
I was wondering what the best practice is regarding databases for integration tests on the build server. If there is a best practice.
Currently, our build will create a new database from scratch for ...
2
votes
3
answers
467
views
Do products of a build process belong in a repository?
For example:
we don't put python compilation files (.pyc's) into the repo, probably because python generates them automatically.
In a java house, do they commit the .jars to their repos?
Traditionally,...
6
votes
2
answers
5k
views
Best practices build and deploy for on premise applications
I work for a software company which tend to deploy applications on premise for enterprise customers. The software normally consists of server side software (a few microservices) and 1 or many client ...
6
votes
1
answer
631
views
Node.js deployment -- npm or gulp
Suppose that I have a project written in JS via such frameworks like Node.js and Express. It also uses Mocha as a test framework and Gulp as a build system.
I wonder what is the best way to expose ...
2
votes
2
answers
644
views
Why does the development team of IntelliJ IDEA store its dependencies as jars (e.g. JUnit) inside their cvs?
The very popular IntelliJ IDEA has currently saved a lot of dependencies as actual jar files in their git repository e.g.JUnit, which I don't understand.
Build tools like Maven provide excellent ...
1
vote
1
answer
94
views
Security error on asp.net system after deployment of bug fix dll [closed]
I (recently inherited) a asp.net web application in production. After fixing a generic bug in the area of making a table selection - we have a problem regarding security policies not allowing access ...
23
votes
4
answers
3k
views
How can CI be used for interpreted languages?
I have never used a Continuous Integration system (CI) before. I primarily code in MATLAB, Python or PHP. Neither of these have a build step and I do not see how a CI could be used for my work. A ...
1
vote
1
answer
546
views
How do webpack and gulp complement each other?
I've started with TypeScript 2.5 years ago with Visual Studio and ASP.Net MVC. VS Web Essentials would compile ts files on save and the WebOptimizer library would bundle them together at runtime in a ...