Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni via buildroot <buildroot@buildroot.org>
To: Maxim Kochetkov <fido_max@inbox.ru>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 3/3] package/postgresql: add lz4 and zstd support
Date: Sat, 28 Jan 2023 21:04:11 +0100	[thread overview]
Message-ID: <20230128210411.1f0fe820@windsurf> (raw)
In-Reply-To: <20230124054748.13980-3-fido_max@inbox.ru>

On Tue, 24 Jan 2023 08:47:48 +0300
Maxim Kochetkov <fido_max@inbox.ru> wrote:

> PostgreSQL has optional compression support (LZ4 and Zstandard).
> So enable it if libraries are available.
> 
> Signed-off-by: Maxim Kochetkov <fido_max@inbox.ru>
> ---
>  package/postgresql/postgresql.mk | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/package/postgresql/postgresql.mk b/package/postgresql/postgresql.mk
> index 5313e03b12..1f787231f8 100644
> --- a/package/postgresql/postgresql.mk
> +++ b/package/postgresql/postgresql.mk
> @@ -58,6 +58,16 @@ else
>  POSTGRESQL_CONF_OPTS += --without-zlib
>  endif
>  
> +ifeq ($(BR2_PACKAGE_ZSTD),y)
> +POSTGRESQL_DEPENDENCIES += zstd
> +POSTGRESQL_CONF_OPTS += --with-zstd

Could add an explicit else clause here to pass --without-zstd ?

> +endif
> +
> +ifeq ($(BR2_PACKAGE_LZ4),y)
> +POSTGRESQL_DEPENDENCIES += lz4
> +POSTGRESQL_CONF_OPTS += --with-lz4

Same here ?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2023-01-28 20:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-24  5:47 [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1 Maxim Kochetkov via buildroot
2023-01-24  5:47 ` [Buildroot] [PATCH 2/3] DEVELOPERS: add myself to postgresql package Maxim Kochetkov
2023-01-28 20:03   ` Thomas Petazzoni via buildroot
2023-01-24  5:47 ` [Buildroot] [PATCH 3/3] package/postgresql: add lz4 and zstd support Maxim Kochetkov
2023-01-28 20:04   ` Thomas Petazzoni via buildroot [this message]
2023-01-28 20:03 ` [Buildroot] [PATCH 1/3] package/postgresql: bump version to 15.1 Thomas Petazzoni via buildroot

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=20230128210411.1f0fe820@windsurf \
    --to=buildroot@buildroot.org \
    --cc=fido_max@inbox.ru \
    --cc=thomas.petazzoni@bootlin.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox