All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gao Xiang via Linux-erofs <linux-erofs@lists.ozlabs.org>
To: linux-erofs@lists.ozlabs.org
Cc: Lasse Collin <lasse.collin@tukaani.org>
Subject: [RFC PATCH v0 2/4] erofs-utils: add liblzma dependency
Date: Mon, 18 Jan 2021 01:46:01 +0800	[thread overview]
Message-ID: <20210117174603.17943-3-hsiangkao@aol.com> (raw)
In-Reply-To: <20210117174603.17943-1-hsiangkao@aol.com>

From: Gao Xiang <hsiangkao@aol.com>

liblzma [1] has an experimental fixed-sized output LZMA compression
support now. Let's use it to have a try!

TODO:
	complete configure.ac / Makefile.am

Cc: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Gao Xiang <hsiangkao@aol.com>
---
 fuse/Makefile.am | 2 +-
 lib/Makefile.am  | 1 +
 mkfs/Makefile.am | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/fuse/Makefile.am b/fuse/Makefile.am
index e7757bc7d047..e471cb810c8c 100644
--- a/fuse/Makefile.am
+++ b/fuse/Makefile.am
@@ -7,4 +7,4 @@ erofsfuse_SOURCES = dir.c main.c
 erofsfuse_CFLAGS = -Wall -Werror -I$(top_srcdir)/include
 erofsfuse_CFLAGS += -DFUSE_USE_VERSION=26 ${libfuse_CFLAGS} ${libselinux_CFLAGS}
 erofsfuse_LDADD = $(top_builddir)/lib/liberofs.la ${libfuse_LIBS} ${liblz4_LIBS} ${libselinux_LIBS}
-
+erofsfuse_LDADD += -L/tmp/xz-test/lib -llzma
diff --git a/lib/Makefile.am b/lib/Makefile.am
index f21dc35eda51..e048a16d73f2 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -13,3 +13,4 @@ liberofs_la_SOURCES += compressor_lz4hc.c
 endif
 endif
 
+liberofs_la_CFLAGS += -I/tmp/xz-test/include
diff --git a/mkfs/Makefile.am b/mkfs/Makefile.am
index 8b8e05132bc0..7993cb76ee23 100644
--- a/mkfs/Makefile.am
+++ b/mkfs/Makefile.am
@@ -7,4 +7,4 @@ AM_CPPFLAGS = ${libuuid_CFLAGS} ${libselinux_CFLAGS}
 mkfs_erofs_SOURCES = main.c
 mkfs_erofs_CFLAGS = -Wall -Werror -I$(top_srcdir)/include
 mkfs_erofs_LDADD = ${libuuid_LIBS} $(top_builddir)/lib/liberofs.la ${libselinux_LIBS} ${liblz4_LIBS}
-
+mkfs_erofs_LDADD += -L/tmp/xz-test/lib -llzma
-- 
2.24.0


  parent reply	other threads:[~2021-01-17 17:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210117174603.17943-1-hsiangkao.ref@aol.com>
2021-01-17 17:45 ` [RFC PATCH v0 0/4] erofs-utils: add LZMA fixed-sized output compression support Gao Xiang via Linux-erofs
2021-01-17 17:46   ` [RFC PATCH v0 1/4] erofs-utils: clevel set up as an individual function Gao Xiang via Linux-erofs
2021-01-17 17:46   ` Gao Xiang via Linux-erofs [this message]
2021-01-17 17:46   ` [RFC PATCH v0 3/4] erofs-utils: mkfs: add LZMA algorithm support Gao Xiang via Linux-erofs
2021-01-17 17:46   ` [RFC PATCH v0 4/4] erofs-utils: fuse: " Gao Xiang via Linux-erofs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210117174603.17943-3-hsiangkao@aol.com \
    --to=linux-erofs@lists.ozlabs.org \
    --cc=hsiangkao@aol.com \
    --cc=lasse.collin@tukaani.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.