AerospaceNU / AerospaceNU/better-engine-control-software

Parallelize builds for CI

未关闭
#40 0 条评论 0 个 reaction 已指派 1 人 已被 @anushkakulk 认领 在 GitHub 查看
enhancement
主要语言
C++
星标
5
派生
2
PR 合并指标
30 天内没有已合并 PR

描述

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?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。