From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Lars Alex Pedersen <lapeddk@gmail.com>
Subject: Re: [ptxdist] [APPLIED] abseil-cpp: Add option to build as shared library
Date: Sun, 29 Mar 2026 07:47:11 +0200 [thread overview]
Message-ID: <20260329054711.2508181-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20260324062821.82844-2-lapeddk@gmail.com>
Thanks, applied as e9bb1606dd748c9929099d82257a095481d498d9.
Michael
[sent from post-receive hook]
On Sun, 29 Mar 2026 07:47:10 +0200, Lars Alex Pedersen <lapeddk@gmail.com> wrote:
> Signed-off-by: Lars Alex Pedersen <lapeddk@gmail.com>
> Message-Id: <20260324062821.82844-2-lapeddk@gmail.com>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/rules/abseil-cpp.in b/rules/abseil-cpp.in
> index 00fe201ecee4..47e199289426 100644
> --- a/rules/abseil-cpp.in
> +++ b/rules/abseil-cpp.in
> @@ -8,3 +8,11 @@ config ABSEIL_CPP
> help
> Abseil is an open-source collection of C++ library code designed
> to augment the C++ standard library.
> +
> +if ABSEIL_CPP
> +
> +config ABSEIL_CPP_SHARED_LIB
> + bool
> + prompt "Build as shared library"
> +
> +endif
> diff --git a/rules/abseil-cpp.make b/rules/abseil-cpp.make
> index c668e91faa34..16aab371cb02 100644
> --- a/rules/abseil-cpp.make
> +++ b/rules/abseil-cpp.make
> @@ -36,7 +36,8 @@ ABSEIL_CPP_CONF_TOOL := cmake
> ABSEIL_CPP_CONF_OPT := \
> $(CROSS_CMAKE_USR) \
> -G Ninja \
> - -DABSL_BUILD_MONOLITHIC_SHARED_LIBS=OFF \
> + -DABSL_BUILD_MONOLITHIC_SHARED_LIBS=$(call ptx/ifdef, ABSEIL_CPP_SHARED_LIB, OFF, ON) \
> + -DBUILD_SHARED_LIBS=$(call ptx/ifdef, ABSEIL_CPP_SHARED_LIB, OFF, ON) \
> -DABSL_BUILD_TESTING=OFF \
> -DABSL_BUILD_TEST_HELPERS=OFF \
> -DABSL_ENABLE_INSTALL=ON \
> @@ -47,4 +48,22 @@ ABSEIL_CPP_CONF_OPT := \
> ABSEIL_CPP_CXXFLAGS := \
> -fPIC
>
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/abseil-cpp.targetinstall:
> + @$(call targetinfo)
> +
> + @$(call install_init, abseil-cpp)
> + @$(call install_fixup, abseil-cpp, PRIORITY, optional)
> + @$(call install_fixup, abseil-cpp, SECTION, base)
> + @$(call install_fixup, abseil-cpp, AUTHOR, "Lars Pedersen <lapeddk@gmail.com>")
> + @$(call install_fixup, abseil-cpp, DESCRIPTION, missing)
> +ifdef PTXCONF_ABSEIL_CPP_SHARED_LIB
> + @$(call install_lib, abseil-cpp, 0, 0, 0644, libabseil_dll)
> +endif
> + @$(call install_finish, abseil-cpp)
> + @$(call touch)
> +
> # vim: syntax=make
next prev parent reply other threads:[~2026-03-29 5:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-24 6:28 [ptxdist] [PATCH 1/5] re2: new package Lars Alex Pedersen
2026-03-24 6:28 ` [ptxdist] [PATCH 2/5] abseil-cpp: Add option to build as shared library Lars Alex Pedersen
2026-03-29 5:47 ` Michael Olbrich [this message]
2026-03-24 6:28 ` [ptxdist] [PATCH 3/5] python3-typing-extensions: New package Lars Alex Pedersen
2026-03-29 5:47 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-03-24 6:28 ` [ptxdist] [PATCH 4/5] python3-protobuf: version bump 5.26.1 -> 7.34.1 Lars Alex Pedersen
2026-03-29 5:47 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-03-24 6:28 ` [ptxdist] [PATCH 5/5] python3-grpcio: New package Lars Alex Pedersen
2026-03-29 5:47 ` [ptxdist] [APPLIED] " Michael Olbrich
2026-03-29 5:47 ` [ptxdist] [APPLIED] re2: new package Michael Olbrich
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=20260329054711.2508181-1-m.olbrich@pengutronix.de \
--to=m.olbrich@pengutronix.de \
--cc=lapeddk@gmail.com \
--cc=ptxdist@pengutronix.de \
/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