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.

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.

- Doug

--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to