[PD] autotools

Dan Wilcox danomatika at gmail.com
Sun Dec 3 12:55:52 CET 2017

> On Dec 3, 2017, at 11:39 AM, Christof Ressi <christof.ressi at gmx.at> wrote:
> but most other platform specific knowledge will be the same for any build system I guess. after all, Pd changes in a slow and healthy pace, so there aren't many modifications to be done to the build system once it is set up.

That is definitely true. Automake puts together the makefile rules for you but of course it still works in the same way in the end.

I've also found this guide to be pretty helpful in the getting into the basics: https://autotools.io/index.html <https://autotools.io/index.html>

> the one thing I noticed is build speed: a complete rebuild (including externals) on my personal MinGW build system takes ~40 seconds but with autotools it takes a whopping 4 minutes and 30 seconds!

Yeah and that's largely due to the current layout being recursive, ie. multiple makefiles in multiple directories. This is one of the reasons there have been some projects that rework things into a single main makefile as it lowers the amount of directory walking and intermediate steps ie. non-recursive make: https://autotools.io/automake/nonrecursive.html <https://autotools.io/automake/nonrecursive.html>

To some degree, configure will always be slow for all sorts of reasons, but there are definitely techniques to slow down the make process. Another advantage to non-recursive make is that doing a parallel build would work without timing uncertainties between different makefiles.

Dan Wilcox
@danomatika <http://twitter.com/danomatika>
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20171203/24a0df3a/attachment.html>

More information about the Pd-list mailing list