On Thu, 9 Jan 2020 at 10:06, Douglas R. Reno via lfs-dev <[email protected]> wrote: > > > On 1/8/20 3:59 PM, Bruce Dubbs via lfs-dev wrote: > > I've been seeing some references to zstd lately. AFAIK, the only use > > of it right now in LFS/BLFS is for some tests, but I think it will > > become more common in the future. > > > > I downloaded the tarball from > > https://github.com/facebook/zstd/releases and the build is pretty > > easy. Actually they support make, meson, and cmake. > > > > I was able to build with > > > > make > > make prefix=/usr install > > > > Build size 17 MB > > Install size 3.1 MB > > Time was about 0.5 SBU > > > > We might want to make some changes to install in /bin and /lib instead > > of /usr and to remove or suppress the static library, but I haven't > > looked at that yet. > > > > Should we add this now or wait a while until more packages start using > > it? > > > > -- Bruce > > Good evening, > > I think add zstd is a great idea, and should prove beneficial further > down the line as more packages begin to adopt it. It's compression > algorithm is really good according to the benchmarks I've seen. > > My suggestion is to make changes to install them in /bin and /lib, and > to remove the installation of the static library. >
As a compression utility required for LFS, surely it is only going to be useful once one can no longer get "LFS sources" compressed with anything else ? It's not as though the LFS book doesn't skip some tests, noting that extra packages fromBLFS are required. It thus sounds like a BLFS thing at present. Indeed, it'd be "nice" if package developers didn't rely on a specific compression technology just to run a test, and allowed the end-user to specify their technology of choice - but that's true for many utilities I guess. > I suggest using Autotools for this one rather than CMake or Meson. > CMake can use zstd for testing, so we'd introduce a potential circular > dependency there. +1: not least as it is one less reason to have to install Meson into LFS, which is still, I think, only really required for the SystemD version of the book, yet creeps in to the SysV version as well. Kevin -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
