-
Notifications
You must be signed in to change notification settings - Fork 439
chore: implement rudimentary CMake incremental build #13652
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
base: main
Are you sure you want to change the base?
Conversation
|
Bootstrap import analysisComparison of import times between this PR and base. SummaryThe average import time from this PR is: 274 ± 2 ms. The average import time from base is: 276 ± 2 ms. The import time difference between this PR and base is: -1.4 ± 0.1 ms. Import time breakdownThe following import paths have shrunk:
|
BenchmarksBenchmark execution time: 2025-06-12 14:32:05 Comparing candidate commit e74ebb6 in PR branch Found 0 performance improvements and 2 performance regressions! Performance is the same for 563 metrics, 5 unstable metrics. scenario:iastaspects-upper_aspect
scenario:telemetryaddmetric-1-gauge-metric-1-times
|
c73aa78
to
6b318e4
Compare
|
We speed-up the build process for local development when CMake sources are not changed in between build runs. This reduces the build time from about 3 minutes to about 20 seconds.
6b318e4
to
2d8b8c8
Compare
We speed-up the build process for local development when CMake sources are not changed in between build runs. This reduces the build time from ~3 minutes to ~20 seconds. The feature is behind the
DD_CMAKE_INCREMENTAL_BUILD
flag. When running tests locally with riot, one would have to make sure that the variable is set in the environment, e.g.Note
This is just a temporary workaround. Long-term we would want to migrate away from CMake as much as possible to reduce the complexity inside
setup.py
.Checklist
Reviewer Checklist