Close

Dpkg-buildpackage speedup?

A project log for Vintage Z80 palmtop compy hackery (TI-86)

It even has a keyboard!

eric-hertzEric Hertz 07/10/2021 at 00:480 Comments

in the meantime... if I ever get this compy running again, I'll be needing to recompile the tilp serial linking library a few more times, as I clean up my notes and commented-out code attempts, etc.

I'd been using dpkg-buildpackage to do so... and on the lappy--which takes far too much power, giving me only about an hour's runtime a day--the whole process takes just a few minutes. But when I moved everything over to the Pi, it takes nearly 45, just to recompile that one library due to a change in one friggin source file.

Clearly dpkg-buildpackage doesn't respect the ol' methods of only recompiling the file that changed. And, on further inspection, it seems it also runs through the dependency checker /every/ time... "is stdint supported.... yes" which is surprisingly slow.

Surely there's a way to speed all this redundant stuff up...? Search-fu and RTFM have failed me... ideas?

Discussions