AerospaceNU / AerospaceNU/better-engine-control-software

Parallelize builds for CI

Ouverte
#40 0 commentaires 0 réactions 1 personne assignée Réclamée par @anushkakulk Voir sur GitHub
enhancement
Langage dominant
C++
Étoiles
5
Forks
2
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Our build process is CMake, which generates build files such as Make

Make builds sequentially by default. We can parallelize it with the `-j` flag to specify how many threads to use. I would like for the number of threads to be queried automatically based on the number of threads available, so we would probably have it like `-j SOME_VARIABLE`

Alternatively, CMake can also generate Ninja files, which parallelizes automatically. The issue is that the runners don't have Ninja installed natively. Last time I tried, downloading and installing Ninja to use ended up not saving any time. Is there a way to install and cache this dependency, so we don't have to install it everytime?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.