abseil.git
3 years agoEliminate libabsl_flags.so and libabsl_flags.a
Benjamin Barenblat [Wed, 31 Aug 2022 02:54:45 +0000 (03:54 +0100)]
Eliminate libabsl_flags.so and libabsl_flags.a

Forwarded: not-needed

The libabsl_flags library only contains code when compiling with MSVC, which
Debian doesn't use. Skip compiling absl/flags/flag.cc, and make the Abseil flags
library header-only.

Gbp-Pq: Name empty-flags-library.diff

3 years agoUse libatomic if necessary
Benjamin Barenblat [Wed, 31 Aug 2022 02:54:45 +0000 (03:54 +0100)]
Use libatomic if necessary

Bug-Debian: https://bugs.debian.org/973492

On some architectures, notably armel, Abseil needs symbols defined in
libatomic. Abseil does not currently have a well-developed system to
declare external library dependencies, so just have the linker determine
if anything needs libatomic and add the DT_NEEDED entry where necessary.

Gbp-Pq: Name latomic.diff

3 years agoCanonicalize supported CPU feature set
Benjamin Barenblat [Wed, 31 Aug 2022 02:54:45 +0000 (03:54 +0100)]
Canonicalize supported CPU feature set

Forwarded: not-needed

Explicitly set supported CPU features.

  - Disable Intel SSE and SSE2 on i386, since Debian supports some i386
    processors without those extensions. Keep them enabled on amd64, since all
    amd64 processors have them.

  - Disable Intel SSSE3 entirely, since no i386 processor supports it and Debian
    supports amd64 processors without it.

  - Disable NEON on armel and armhf, since no armel processor supports NEON and
    Debian supports some armhf processors without it. Keep it enabled on arm64,
    since all arm64 processors have it.

Gbp-Pq: Name cpu-features.diff

3 years agoSet package configuration options
Benjamin Barenblat [Wed, 31 Aug 2022 02:54:45 +0000 (03:54 +0100)]
Set package configuration options

Forwarded: not-needed

Configure Abseil for Debian.

  - Set the SONAME appropriately.

  - To minimize the possibility of future ABI breakage, treat absl::any,
    absl::optional, absl::string_view, and absl::variant as their own types
    (rather than aliases for the std:: versions), and compile everything in an
    inline namespace.

  - Enable upstream's hardened build mode.

Gbp-Pq: Name configure.diff

3 years agoabseil (0~20220623.0-2) unstable; urgency=medium
Benjamin Barenblat [Wed, 31 Aug 2022 02:54:45 +0000 (03:54 +0100)]
abseil (0~20220623.0-2) unstable; urgency=medium

  * Backport an upstream patch to correct pkg-config file generation.

[dgit import unpatched abseil 0~20220623.0-2]

3 years agoImport abseil_0~20220623.0-2.debian.tar.xz
Benjamin Barenblat [Wed, 31 Aug 2022 02:54:45 +0000 (03:54 +0100)]
Import abseil_0~20220623.0-2.debian.tar.xz

[dgit import tarball abseil 0~20220623.0-2 abseil_0~20220623.0-2.debian.tar.xz]

3 years agoImport abseil_0~20220623.0.orig.tar.gz
Benjamin Barenblat [Tue, 23 Aug 2022 02:17:36 +0000 (03:17 +0100)]
Import abseil_0~20220623.0.orig.tar.gz

[dgit import orig abseil_0~20220623.0.orig.tar.gz]