summaryrefslogtreecommitdiff
path: root/debian/rules
Commit message (Collapse)AuthorAge
* Switch to shlibs infrastructureGravatar Benjamin Barenblat2020-07-24
| | | | | | | | | | Remove the symbols file and replace it with an shlibs file. Since Abseil is almost certain to break ABI with every release, maintaining fine-grained symbol histories is not terribly useful anyway; furthermore, since Abseil is a C++ library, maintaining a symbols file is a lot of work. Bug: https://bugs.debian.org/966183
* Rework symbols file for GCC 9 using pkg-kde-toolsGravatar Benjamin Barenblat2020-07-23
| | | | | | | | Rebuild abseil against GCC 9, the version currently in unstable, and update the symbols file. Additionally, rework the symbols file using pkg-kde-tools, which offers some automation for building large symbols files. This does mean that the symbols file now contains mangled names, but it’s still easily inspected through c++filt.
* Pass -ffile-prefix-map during the buildGravatar Benjamin Barenblat2020-05-22
| | | | | Abseil uses __FILE__ in error messages. Ensure that that macro expands to the same value on every builder by passing -ffile-prefix-map to GCC.
* Build static librariesGravatar Benjamin Barenblat2020-05-22
| | | | | | | | | | | | | | Build archives in addition to shared objects for Abseil code. Build the shared objects after the archives so that files autogenerated during the build (like CMake support files) reference the shared objects, not the archives. This ensures that users get shared objects by default; this is the common case in Debian, and it also helps prevent ODR violations caused by double-linking an archive. This patch is heavily based on one provided in <CAKjSHr2qpxgDcnRVoYCptVytTy-QjXy38AM4ppSKv1noXOGjwg@mail.gmail.com> by László Böszörményi (GCS) <gcs@debian.org>; it’s available on the web at https://bugs.debian.org/888705#150.
* Enable CMake supportGravatar Benjamin Barenblat2020-05-19
| | | | | | | Install Abseil’s CMake support files. Some of these files are autogenerated, and the generator produces files with a googletest dependency if Abseil is built with unit tests enabled; to prevent this, turn off unit tests.
* Start packaging AbseilGravatar Benjamin Barenblat2020-05-18
Create basic packaging for Abseil. There’s still work to be done – there are no autopkgtests, and this package doesn’t install Abseil’s CMake integration. However, you can install the binary packages and build programs that link the libraries.