Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Meta Issue) Improve build times #1252

Open
SaschaWillems opened this issue Dec 18, 2024 · 4 comments
Open

(Meta Issue) Improve build times #1252

SaschaWillems opened this issue Dec 18, 2024 · 4 comments
Labels
framework This is relevant to the framework

Comments

@SaschaWillems
Copy link
Collaborator

We did several big improvements to the build times for our samples, but build still take too long. This is an issue for maintainers, and esp. if you work on the framework. Even on a decent CPU a build takes up to 5 Minutes, which is esp. annoying when working on the framework.

For comparison: On m setup (Windows, AMD Ryzen 8 Core CPU) building this repo takes ~5 Minutes, while doing a full rebuilt of my own repo (~70 samples) only takes about 50s.

@SaschaWillems SaschaWillems added the framework This is relevant to the framework label Dec 18, 2024
@DanielAtCosmicDNA
Copy link

I believe it might be worth to switch from git submodules to vcpkg packages to improve build times. I was able o achieve faster build times this way, take for example the fork I created to support this issue.

@SaschaWillems
Copy link
Collaborator Author

Probably not gonna happen. We discussed vcpkg in the past, but the samples support (and are used) on platforms where vcpkg is not available.

@DanielAtCosmicDNA
Copy link

Probably not gonna happen. We discussed vcpkg in the past, but the samples support (and are used) on platforms where vcpkg is not available.

Can you better elaborate on which platforms vcpkg is not available?

Additionally, the use of Ninja with parallel build is helpful to reduce build times especially for computers with many CPU cores. If you take a look at the fork, Ninja is also setup to build with multiple cores there.

@SaschaWillems
Copy link
Collaborator Author

See #909

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework This is relevant to the framework
Projects
None yet
Development

No branches or pull requests

2 participants