TIL: jhbuild update

I’ve often lamented the fact that jhbuild is dumb about the way that it does download, build, download, build, download, build. It totally misses the chance to download ahead of time so that it never has to stop building.

I just discovered “jhbuild update”, which will download everything ahead of time.

Of course, you can start “jhbuild update” and let it grab the first few packages and then “jhbuild build” in another terminal. As long as they don’t step on each others’ feet, that should speed things up a lot…

TIL.

3 thoughts on “TIL: jhbuild update”

  1. How come all the 1337 hackers have the most-basic blog themes? Must be because you are hacking away. Anyway, thanks for the tip on this jhbuild-business. : )

  2. You can also run the build with “jhbuild build -n” so the second process won’t attempt to update the modules.

    I originally added the “update” / “build -n” pair when I was working for a stint in Melbourne and only had internet access at work. I couldn’t tie up my laptop building everything while I was working, and couldn’t update things when I got home.

    If it helps you parallelise the two tasks, then I guess that’s a bonus.

Comments are closed.