From josh at joshtriplett.org Thu Mar 5 09:47:49 2015 From: josh at joshtriplett.org (josh at joshtriplett.org) Date: Thu, 5 Mar 2015 09:47:49 -0800 Subject: [PATCH 0/2] update dolt In-Reply-To: <1425575169-17027-1-git-send-email-lucas.demarchi@intel.com> References: <1425575169-17027-1-git-send-email-lucas.demarchi@intel.com> Message-ID: <20150305174749.GA18956@cloud> On Thu, Mar 05, 2015 at 02:06:07PM -0300, Lucas De Marchi wrote: > Hi Josh, I'm not sure if you are still maintaining dolt. I didn't know it > otherwise I would be using it since a long time. I just applied it to kmod. I'm not really maintaining it anymore; it was originally written for various projects in the Xorg and freedesktop community, who have since switched away from it due to performance improvements in libtool. I didn't realize that dolt was still significantly faster than current libtool. Supposedly, the latest version of libtool uses some similar tricks, generating a much smaller script rather than a multi-thousand-line shell script. If you're interested in reviving and maintaining dolt, I'm completely in favor of you doing so. :) > These patches are the ones I needed to build some projects I contribute to. > > Lucas De Marchi (2): > Add --silent as a valid argument to doltcompile > Add --tag=disable-static as valid arg to doltcompile > > dolt.m4 | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > -- > 2.3.1 > From josh at joshtriplett.org Thu Mar 5 10:29:55 2015 From: josh at joshtriplett.org (josh at joshtriplett.org) Date: Thu, 5 Mar 2015 10:29:55 -0800 Subject: [PATCH 0/2] update dolt In-Reply-To: <1425579210.1475.7.camel@intel.com> References: <1425575169-17027-1-git-send-email-lucas.demarchi@intel.com> <20150305174749.GA18956@cloud> <1425579210.1475.7.camel@intel.com> Message-ID: <20150305182955.GA19274@cloud> On Thu, Mar 05, 2015 at 06:13:30PM +0000, De Marchi, Lucas wrote: > On Thu, 2015-03-05 at 09:47 -0800, josh at joshtriplett.org wrote: > > On Thu, Mar 05, 2015 at 02:06:07PM -0300, Lucas De Marchi wrote: > > > Hi Josh, I'm not sure if you are still maintaining dolt. I didn't know it > > > otherwise I would be using it since a long time. I just applied it to kmod. > > > > I'm not really maintaining it anymore; it was originally written for > > various projects in the Xorg and freedesktop community, who have since > > switched away from it due to performance improvements in libtool. I > > didn't realize that dolt was still significantly faster than current > > libtool. Supposedly, the latest version of libtool uses some similar > > tricks, generating a much smaller script rather than a > > multi-thousand-line shell script. > > > > If you're interested in reviving and maintaining dolt, I'm completely in > > favor of you doing so. :) > > From 6min to 2.5min to compile systemd looks like a great improvement. And > libtool for me is a 11k-lines script. Sounds like libtool hasn't yet been fixed upstream then. > I just saw this blog post from Harald: > https://harald.hoyer.xyz/2015/03/05/libtool-getting-rid-of-180000-sed-forks/ > > There's a patch to fix libtool which greatly improves its performance, but I > still find dolt very interesting. I can maintain it if you prefer, but I > don't have an account in freedesktop.org... That's easy enough to fix, if you're willing. :) And yeah, with a bit of work, dolt could become a viable general replacement for libtool. I think the hardcoded architecture list can go away in favor of working on any Linux architecture. - Josh Triplett