<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en">
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>
<style>img {
max-width: 100%; height: auto;
}
</style>
</head>
<body>
<div class="content">
<p style="color: #777777;">
<a href="https://gitlab.com/rockdaboot">Tim Rühsen</a>
commented:
</p>
<div style="">
<p dir="auto">Timings here (AMD 5 3600):</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext">1m13 ./bootstrap</span>
<span id="LC2" class="line" lang="plaintext">0m4,5 ./configure --disable-doc</span>
<span id="LC3" class="line" lang="plaintext">0m13 make -j$(nproc)</span></code></pre>
<p dir="auto">The problem with meson (and cmake) seems to be gnulib integration. <code>./bootstrap + meson + ninja</code> seems to be appropriate. But really, even if meson takes 0 seconds - you save 4.5 seconds. Ninja will likely also take around 13s (or more). Meson needs python3 and python3 is a huge dependency. Also, how often do you execute <code>./bootstrap</code> ? I do this very rarely - e.g. when modifying <code>bootstrap.conf</code>. To just re-create <code>configure.ac</code> you can use <code>autoreconf -fi</code>. To re-create Makefiles, use <code>./config.status</code>.</p>
<p dir="auto">One of my projects, <code>libpsl</code> got meson build support. It still needs <code>./configure</code> to create <code>meson.build</code> from <code>meson.build.in</code>. There still is this comment:</p>
<pre class="code highlight js-syntax-highlight plaintext" lang="plaintext" v-pre="true"><code><span id="LC1" class="line" lang="plaintext"># FIXME: Cleanup this when Meson gets 'feature-combo':</span>
<span id="LC2" class="line" lang="plaintext"># https://github.com/mesonbuild/meson/issues/4566</span>
<span id="LC3" class="line" lang="plaintext"># Dependency fallbacks would help too:</span>
<span id="LC4" class="line" lang="plaintext"># https://github.com/mesonbuild/meson/pull/4595</span></code></pre>
<p dir="auto">Both, issue and PR are still 'open' after ~1 year.</p>
<p dir="auto">I am not saying that another build system doesn't make sense. But ipcalc seems to be a trivial project compared to gnutls and doesn't need gnulib.</p>
</div>
</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #777;">
—
<br>
Reply to this email directly or <a href="https://gitlab.com/gnutls/gnutls/issues/320#note_265844215">view it on GitLab</a>.
<br>
You're receiving this email because of your account on gitlab.com.
If you'd like to receive fewer emails, you can
<a href="https://gitlab.com/sent_notifications/715355e8a8fdc281b97d4564c5984820/unsubscribe">unsubscribe</a>
from this thread or
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Issue","url":"https://gitlab.com/gnutls/gnutls/issues/320#note_265844215"}}</script>
</p>
</div>
</body>
</html>