| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
136c2572f4d6e6ab8ae02f74d691634874458184 set tests to build in the
`static` directory rather than the `shared` directory. Unfortunately, it
neglected to set the tests to _run_ out of the `static` directory, which
disabled all the tests. Set the tests to run out of `static`.
|
| |
|
|
|
|
|
| |
This test ensures Debian’s Abseil doesn’t fall prey to
https://github.com/abseil/abseil-cpp/issues/1407.
|
|
|
|
|
| |
Lintian dislikes -W flags in pkg-config files, even if those flags
disable warnings.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Abseil 20230125.3 exposes libraries that were formerly internal
(“test-only”) so that other packages’ unit tests can refer to them [1].
Some of the new libraries depend on Google Mock, which Debian only ships
as a static library; as a result, the new libraries can only be shipped
statically as well. Historically, however, Abseil’s Debian packaging has
linked Abseil’s unit tests dynamically to improve build speed. (Google
Mock was built as a one-off shared library during this process, but it
was only ever used in unit tests and was never shipped to users.) Static
Abseil builds were unaware that Google Mock existed, which prevented
sbuild from building the new libraries [2].
To rectify the situation, change Abseil’s Debian packaging to link
Abseil unit tests statically and to ship the new libraries as static
archives. Also make libabsl-dev recommend libgmock-dev, since the new
libraries are useless without a corresponding Google Mock build.
[1] https://github.com/abseil/abseil-cpp/pull/1442
[2] https://bugs.debian.org/1034908
|
| |
|
| |
|
|
|
|
|
| |
Bump SONAME and inline namespace in configuration, and delete a patch
that has been applied upstream.
|
| |
|
|
|
|
|
| |
Debian’s RISC-V builders don’t have enough resources to run Abseil’s
test suite in parallel. See https://bugs.debian.org/1025221.
|
| |
|
|
|
|
|
|
|
| |
Per release-team’s recent request that maintainers support the nocheck
profile <E1oit90-0073rh-LX@respighi.debian.org>, annotate googletest
with <!nocheck> and disable tests in debian/rules if that profile is
set.
|
| |
|
|
|
|
|
|
|
| |
Temporarily skip CordzInfoStatisticsTest.ThreadSafety, since it fails on
ppc64el. I’ll reenable it once the failure has been root-caused and fixed.
Bug: https://bugs.debian.org/1018804
|
|
|
|
|
| |
See https://github.com/abseil/abseil-cpp/pull/1216 (upstream commit
09e96049995584c3489e4bd1467313e3e85af99c) for full details.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Since upstream commit fb7dd24b18e82893e5922be5d1c8ae0f3fe3c9fa, Abseil
requires both BUILD_TESTING=ON and ABSL_BUILD_TESTING=ON to build unit
tests.
|
|
|
|
|
| |
Abseil 20220623 requires a fairly new googletest for tests to compile
correctly. Record that dependency in debian/control.
|
|
|
|
|
|
|
| |
Debian 12’s GCC will default to C++17, so start building Abseil in
C++17 mode. To maximize compatibility, continue to treat absl::any,
absl::optional, absl::string_view, and absl::variant as distinct types
rather than aliases for C++17 types in the std namespace.
|
|
|
|
|
|
|
|
| |
Turn SSE off on i386 since Debian still supports the Pentium II.
Similarly, turn NEON off on armel and armhf since it’s not universally
supported.
Split CPU feature support configuration into its own patch for clarity.
|
|
|
|
|
|
| |
Bump SONAME and inline namespace in configuration, update location of
SSE2 and SSSE3 configuration, and delete patches that have been applied
upstream.
|
| |
|
|
|
|
|
| |
Backport a patch from upstream to make CMake generate pkg-config files
correctly. Add an autopkgtest to ensure this doesn’t regress.
|
| |
|
| |
|
|
|
|
|
| |
Upstream has decided NominalCPUFrequency is for internal consumption,
so stop running its unit tests.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Apply some patches from upstream to correct AES implementation on
big-endian machines.
|
|
|
|
|
| |
Backport some patches from upstream to make tests pass on big-endian
machines.
|
|
|
|
|
| |
These have been triggering for a few releases now, and they’re
expected.
|
|
|
|
|
| |
libabsl_random_internal_platform contains AES constants only; it’s
expected to contain no code.
|
|
|
|
|
|
| |
The Abseil flags library needs to emit code only when being compiled
with MSVC, which Debian doesn’t use. Skip absl/flags/flag.cc, and tell
CMake to treat the flags library as header-only.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit 8081530e824c092d36b1ef7947783c5859eb8b61 added -Wl,--as-needed
-latomic -Wl,--no-as-needed to ensure libatomic got linked on platforms
that needed it (see https://bugs.debian.org/973492). However, this
inadventantly added -Wl,--no-as-needed to dependents’ link lines when
they built with CMake. Switch to -Wl,--push-state,--as-needed -latomic
-Wl,--pop-state instead to ensure dependents’ link settings remain
intact. As an added bonus, this removes -Wl,--as-needed from the Abseil
build itself, allowing a bunch of libraries that don’t actually need
libc to omit a libc dependency.
Closes: https://bugs.debian.org/1001596
|
|
|
|
| |
Add a call to rint in a test, ensuring it passes on the x87.
|
|
|
|
| |
Remove some overconstraint, allowing these tests to pass on the x87.
|
|
|
|
|
|
|
|
| |
Some Abseil tests test floating-point edge cases. These tests are
correct when IEEE semantics are strictly enforced. However, such
semantics are quite expensive when using an x87 FPU, so they’re not
enabled by default. Patch out the offending tests on i386 systems that
don’t enforce IEEE semantics.
|
| |
|
| |
|
| |
|
| |
|