ports/unix/check: Split depfiles for faster build

Having just one depfile (.depend) means it has to be fully regenerated
on every change, and it can't be done in parallel.

After this change the rebuild time after touching a single test file has
gone from 5.0 to 0.9 seconds. (make -j12)

Build of tests from clean has gone from 8.1 to 5.5s.

We could go even further and have one depfile per c-file, but this felt
like a simple first step giving a nice improvement.
This commit is contained in:
Erik Ekman
2020-12-03 21:32:47 +01:00
parent c748395bda
commit 63fb3721ef
2 changed files with 14 additions and 8 deletions

2
.gitignore vendored
View File

@@ -4,7 +4,7 @@
*lwip_unittests.xml
*.suo
*.log
.depend
.depend*
/.vscode/ipch