Skip to main content

Questions tagged [build-system]

Build systems are tools used for compiling source code and assembling/packaging the results.

Filter by
Sorted by
Tagged with
2 votes
5 answers
1k views

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 ...
glades's user avatar
  • 493
-3 votes
1 answer
258 views

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 ...
Dominique's user avatar
  • 1,844
2 votes
0 answers
355 views

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 ...
oliver's user avatar
  • 229
5 votes
2 answers
2k views

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 ...
Slack Groverglow's user avatar
-3 votes
3 answers
101 views

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 ...
hurryman2212's user avatar
0 votes
0 answers
48 views

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 ...
Makogan's user avatar
  • 261
1 vote
4 answers
174 views

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 ...
TheHans255's user avatar
0 votes
2 answers
203 views

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). ...
Géry Ogam's user avatar
-6 votes
1 answer
221 views

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 ...
S.D.'s user avatar
  • 1,100
0 votes
1 answer
98 views

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 ...
redsoxfantom's user avatar
0 votes
0 answers
155 views

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 ...
Martin Ba's user avatar
  • 7,861
2 votes
3 answers
5k views

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 ...
amjad's user avatar
  • 139
1 vote
2 answers
397 views

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 ...
Ignat Insarov's user avatar
1 vote
2 answers
107 views

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 ...
Soobeen Park's user avatar
3 votes
3 answers
1k views

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 ...
Finlay Weber's user avatar
-3 votes
1 answer
159 views

I have a build pipeline that builds my C++ project on Windows, macOS and Linux. The build process generates 100 libraries and files on each OS. So I have a directory with these files, and I want to ...
Daniel Stephens's user avatar
5 votes
1 answer
1k views

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 ...
Giorgio Buttiglieri's user avatar
7 votes
3 answers
4k views

As an exercise, I am trying to design a simple calendar booking system for multiple meeting rooms. I kind of got my head around some requirements such as find available rooms for a given time range, ...
smurf's user avatar
  • 79
-1 votes
1 answer
519 views

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'...
JoshuaD's user avatar
  • 189
19 votes
6 answers
5k views

Coming from the world of C and C++, most build system have an install target, notably Makefiles (where it is recommended by GNU for example) or CMake. This target copies the runtime files (executables,...
Synxis's user avatar
  • 307
-3 votes
1 answer
323 views

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 ...
k10's user avatar
  • 9
8 votes
6 answers
10k views

Like it happens to many, our C++ project grew larger and larger, and it finally hit the point where maintainability starts to be a concern, mostly due to build times: even by using ccache, every ...
matpen's user avatar
  • 197
1 vote
1 answer
2k views

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 ...
Ansis Māliņš's user avatar
0 votes
1 answer
285 views

We have a GitHub repository where we distribute our source code. For that, we want to use a really permissive license, like MIT. Of course, some of our projects have GPL or similarly licensed ...
Sven Büchel's user avatar
6 votes
2 answers
4k views

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'...
Loïc Faure-Lacroix's user avatar
7 votes
1 answer
515 views

I am currently trying out Gradle for my embedded development project. The existing tool is GNU Make. Across the internet I have read a lot of articles where people say that their build logic becomes "...
Müller's user avatar
  • 171
1 vote
1 answer
239 views

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 ...
user237251's user avatar
13 votes
2 answers
371 views

Here's a small illustration of my question: Assume a build job that consists of 4 independent tasks named A-D. D takes longer than A-C do in sum. A build system that cannot incorporate the relative ...
sjakobi's user avatar
  • 157
5 votes
1 answer
342 views

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 ...
Gabor Lengyel's user avatar
0 votes
1 answer
185 views

In a Microsoft ecosystem (i.e. WebForms/MVC/WebAPI VisualStudio projects) why should I rely on an external task runner for JavaScript files like Grunt if I already have MSBuild at my disposal as the ...
julealgon's user avatar
  • 287
1 vote
4 answers
269 views

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 ...
hawkeye's user avatar
  • 4,849
0 votes
0 answers
1k views

I have been asked to do the following: Take a project within a repo (repo has multiple projects inside) Build ant build script that will build two separate tomcat webapp war files. They are two web ...
InformedA's user avatar
  • 3,041
0 votes
1 answer
977 views

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 ...
guy mograbi's user avatar
8 votes
2 answers
7k views

I've seen a few build tools in my career, and they've all had their quirks. I'm just now looking into Maven, and came across the idea of "dependency exclusions" for the first time. I honestly don't ...
user avatar
6 votes
1 answer
145 views

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 ...
Peter's user avatar
  • 988
4 votes
1 answer
3k views

Our build process changes the version number of all AssemlyInfo.cs files, so that the version number can be managed completely by the build server. Right now, we commit the changed AssemblyInfo.cs ...
JanDotNet's user avatar
  • 306
2 votes
3 answers
467 views

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,...
John Mee's user avatar
  • 414
1 vote
1 answer
469 views

We do have several Components in our product which are Component A Component B Component C Dependencies are (if unmet the system fails): A <-> B B <-> C We are currently creating a build ...
pfried's user avatar
  • 203
6 votes
2 answers
5k views

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 ...
Nick Williams's user avatar
4 votes
8 answers
4k views

the QA team should ideally do their testing on an environment that almost exactly matches the prod env (to minimize uncaught bugs that arise due to setting differences). If that's true, does the QA ...
abbood's user avatar
  • 259
6 votes
1 answer
631 views

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 ...
FrozenHeart's user avatar
1 vote
1 answer
555 views

I'm working on a C++ codebase targeted at multiple platforms, and we've just moved over to CMake as our buildsystem. Previously our buildsystem was a pretty ad-hoc affair; getting our code under a ...
Standback's user avatar
  • 1,330
2 votes
2 answers
647 views

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 ...
uuu's user avatar
  • 856
3 votes
2 answers
204 views

We have a problem at our org where we have the need to know "with very high certainty" what specific versions of each app/web service/etc. is deployed to a given node and/or environment at any given ...
smeeb's user avatar
  • 4,970
1 vote
1 answer
94 views

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 ...
Harriet's user avatar
  • 139
3 votes
2 answers
2k views

Currently our Python application is deployed like this: Development team work on issues, commit code and create a Pull request Pull request is integrated to Development branch QA and Operations team ...
gogasca's user avatar
  • 193
23 votes
4 answers
3k views

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 ...
Lord Loh.'s user avatar
  • 1,787
24 votes
5 answers
5k views

I've recently been using some build tools for a Nodejs project at work when I realized that most languages' main build tool/system use a different language than the underlying programming language ...
joshin4colours's user avatar
1 vote
1 answer
546 views

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 ...
peter's user avatar
  • 113
6 votes
2 answers
2k views

We have a legacy code base in entirely C++. Our build system is CMake. My first stab at unit testing was as follows: Define a target (LibraryA). This library contains the code to test. Define a unit ...
void.pointer's user avatar
  • 5,153