AerospaceNU / AerospaceNU/better-engine-control-software

Parallelize builds for CI

Abierto
#40 0 comentarios 0 reacciones 1 asignado Reclamado por @anushkakulk Ver en GitHub
enhancement
Lenguaje dominante
C++
Estrellas
5
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.