Bill Allombert on Thu, 17 Aug 2023 14:25:20 +0200
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: A more mature build system for PARI
|
- To: pari-dev@pari.math.u-bordeaux.fr
- Subject: Re: A more mature build system for PARI
- From: Bill Allombert <Bill.Allombert@math.u-bordeaux.fr>
- Date: Thu, 17 Aug 2023 14:20:12 +0200
- Arc-authentication-results: i=1; smail; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1692274805; c=relaxed/relaxed; bh=fLaF3tS3hOjNaQD/oUMCR8eQlajM3xzijorNoiWpdOc=; h=DKIM-Signature:Date:From:To:Subject:Message-ID:Mail-Followup-To: References:MIME-Version:Content-Type:Content-Disposition: In-Reply-To; b=BRzQmfXoewVd2i0JhKknEulTQu3OeL+7fbKx21QGHb3X5Si57wuzC+B+4o1dU/ej/k53nguRuG5OiD0UbbtUKB062KWyJuOldgQgAnBXRN5utS30qNKf4Us6TlnijfImcriZ2eS/tplL5zAnGHSr6HQJa+OBWghYq+mUGeKGZNVEZDdtnBevV8P5SPjD/5C5jmjMGfn7uvcv5PbE6oNqQXtfI3WR/DgzhOUCPKmZIEwoBTaJt/WzQKuOuVUYvgREnPIVgwP9eDOkpkzEXYiI4W3TQumEJHHTa0Cx2dZswmj3tbnJixwxQ3Sv3RnyCTRIxJeo4cMCDJt7jwU7BAG2Gev/3LRS54RE6nUhpaUCpAoZMrd34rVKjNOWFUh/QVDy7CTvtWmjKcYhsl1CaznrxMaRSSQMXN3Xy1ZBEp6a45SIWxAZp4w+g1XpGDmXor3MYmQCU0bByGJTSgSt1N+8tm04EoUy8eDPHpMHtV2z3+wjVquPtjOi5bcr242VDKStJvclWTlFjxMMEGEFfcO6JLVMeem7RdtClfjaJ+/pZaboU71NKr1fiq0SbNlyomtKPVVNZ05CpJ0zkhMjHJFTqkSdK1LSs+iAC0wyttoKiVsqkUMA3wOCLSROkUV68xn1d8HTFinZIOEhili3icneroWVfdpvPw78qU4vEJbASvQ=
- Arc-seal: i=1; a=rsa-sha256; d=math.u-bordeaux.fr; s=openarc; t=1692274805; cv=none; b=XiK+Mvg0sdpLGDxBFdklLMX6SKfwtuMKqeGjWp0kBn0Xwugt/jTXPwo1EyaJ4u626aR8qCR9a9yMKaW2kpqdugNUY8Hl8zeTnbGHo0uGpnW8GkRHBpHzfNf+lPBJ8mI8HwUK6hj+ZuDZ/qiTlSWv18awxpEy59wU3kip5Q38WpcEuhqwqkqoJw6HaHG/UlW1HRNbqnBEF5cTURUaN/XxJ3pjwe50ThwEEygvIoNIkmYAH11bqMwuD9uAgf0bBcYAJVGxdKY6D71q4IZyKom1+2SfnQvJP55943fOix+lsKJALgXRUQL7BiBGEeEsk8LEqJH3cEyQ8jIOZ6qGXAeIMUiSjENT2S5kcMxnXDKWWuEgP+BFmvIzq1FqzeftYh/Y9kz6Gg68MCln3NEM+aIGiHmBC0zP5l8wNyTVpqL9rNmDSAL4cZ5HE/770IdjEkQGXqTPTvEo3qvDXfWniubJEZoi1/qflCIynxOgAylWBZE00p+M88lhJ/UnxEZpj3/Ntj/R7v2fXFM0DB+g/Eq2kycthSW/xWmokaGkUBiXZzj6YaLvz72Qnl3C3LRxkrc9ntdzNHN9xysYoh/R0gzI1L090+GepWGWcv6BHdLgWrHZ9NJzpIjqn4FFQGasoIN0t+r6iw3W/Lsl4CxszaqKxQ+ng9+JsfVXhUYV/wl3Qe8=
- Authentication-results: smail; arc=none
- Delivery-date: Thu, 17 Aug 2023 14:25:21 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=math.u-bordeaux.fr; s=2022; t=1692274805; bh=fLaF3tS3hOjNaQD/oUMCR8eQlajM3xzijorNoiWpdOc=; h=Date:From:To:Subject:References:In-Reply-To:From; b=fu0pSyLKninXFFITrJ1RgRYA11OKFM8Te7EDj17eoY2v1yJMIPJHXfcDFzAEvsQOf 3HrPxMJ3tyq8c5I6iliM2V5Gjogq3fGmAcOA5Tsd1FQ1B66FmpubTL0d6svA//PIYB Zh6pcCwNrwKdDeUUO1W4cYGKwyq2qa/G1fZFRHdS+jvF+6fwuF+2X+77PkJHHA6Nzr V6T9cPkLuvOXOweiNt/4CxGdeNfxSipFU5/6jtijDYJBo9i0Ht+36WVvZePEvfk26n aO8nKGZvvDQaEWp2sJnGqKL+eVkqRdLQ++2rz61x574Fnq5YP6sy3Q9e9OK37LJ7Z+ kNPr9VzwzLB+q0rXDJFfnt6jaOhBB63q240WP/TuU7hwsvWYEMck5CpsOTltEaxezN RRYp79Gy8NJNWeUxzoLNbpA5cJfVFiU2kaZhyqKQwNoa9ZJ7c6yIJSPWDduFUONc81 ODceXZNFIHQM6gqgHDVCn7BWFVFxeLmUTBLGPtBvVYV93m9b2uFFv8iHwczBBlZ7YK PZ/A9LCGl71yLk4po0dWWegK9aXUAsIiefFDJaw76ivO+feQwfBAY0YFVPnG9gMprp PpybSwi3R0USXpT+NU4kLzVc+0gVXCBhICDFCE4w4upT6wB6gahokgttYCFF7edUi0 9QaglEPy4GUVnx1c58aITutg=
- In-reply-to: <9487b3ad34d81a9f59835c3a706ccb5c1508a4ff.camel@posteo.net>
- Mail-followup-to: pari-dev@pari.math.u-bordeaux.fr
- References: <9487b3ad34d81a9f59835c3a706ccb5c1508a4ff.camel@posteo.net>
On Sun, Aug 13, 2023 at 04:46:08AM +0000, John Scott wrote:
> Hi folks,
>
> I think PARI needs a standardized and well-respected build system instead of
> the custom one. Right now the custom build system is inconvenient for
> downstream users like packagers, does not deal with corner cases like cross
> builds well, and needlessly introduces an extra learning curve instead of
> using a common solution.
>
> I'm interested in putting in the work to convert PARI to Meson. Meson is
> practically a standard with multiple competing implementations, and it's very
> high-level, easy to learn, and designed for developers and packagers first.
> Of course it also supports reproducible builds, cross compilation, and has a
> sophisticated dependency management system that makes building for platforms
> like Windows without package management just a little bit easier.
>
> If I write Meson support for PARI, would you consider merging it?
>
> I'm writing off Autotools and CMake since they're both too complex and hard
> to learn; Autotools's documentation says that it's a design choice that they
> put the needs of projects second, instead prioritizing downstream builders.
> Autotools also generally entails shipping autogenerated files in your
> sources, which is a practice we hate in Debian since it's not truly source,
> and in that way it doesn't belong in a VCS.
Your last paragraph exactly explain why we prefer to keep our build system.
(which is mature according to the dictionnary definition).
Every five years, there is a new build system that becomes trendy and then
we receive an email similar to this one.
Breaking the user interface to the build system is just not worth the trouble.
Requiring users to install more software to be able to compile PARI would not
be a positive change.
Shipping autogenerated files is a feature not a bug. For example, this is helpful
on MacOS which ships a version of bison too old to build PARI.
I maintain the Debian package which provide suitable compilation instruction for
packager. I also maintain the CI which cross-compile PARI for Windows every day,
Cheers,
Bill.