On Sat, 25 Nov 2017 00:20:38 +0000 Peter Stuge <[email protected]> wrote:
> William L. Thomson Jr. wrote: > > I cannot understand why systems get faster, yet configure seems to > > take the same amount of time and is super slow. > > The generated configure scripts can be fork intensive, which is still > fairly expensive. > > But I think the problem is more with poorly written configure source, > which is the argument about mastering.. Not sure what can be done for minimal ones. Meson 1.20s https://travis-ci.org/Obsidian-StudiosInc/entrance/builds/291848344#L1033 Before I switched to meson Configure/autotools 5.52s https://travis-ci.org/Obsidian-StudiosInc/entrance/builds/270985567#L963 Original configure I dropped for meson https://git.enlightenment.org/misc/entrance.git/tree/configure.ac Or uber minimal, can't get much smaller still 5.20s https://travis-ci.org/Obsidian-StudiosInc/asspr#L165 https://github.com/Obsidian-StudiosInc/asspr/blob/master/configure.ac #secondsmatter :) > > On small projects configure can take longer than compile... > > Configure is my main gripe against make/autotools. Plus all the > > other stuff, auto-reconf, autogen, etc. > > configure having zero dependencies is the killer feature compared > to all other options. The tight integration between configure and > cross-toolchains is also a very strong point. The dependency aspect I agree with 100%. I think even cmake has more. Meson requires python, so that alone has a big dependency chain. Which some what surprises me so many with libraries are going that route. I guess they figure it is not core, python likely to be present. Or who cares about end users, its all about saving devs time, no clue. #mesonbandwagon > > The larger the project, the slower configure can be. > > Doesn't have to be, but it's easy to write poor configure source and > difficult to write good source. I would assume then most are poorly written, as I have yet to see a fast configure. Beyond say the one for asspr. -- William L. Thomson Jr.
pgp7QIqKdPlHt.pgp
Description: OpenPGP digital signature
