Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please allow using system abseil (over bundled abseil) #176

Open
Allen-Webb opened this issue Sep 27, 2023 · 0 comments
Open

Please allow using system abseil (over bundled abseil) #176

Allen-Webb opened this issue Sep 27, 2023 · 0 comments

Comments

@Allen-Webb
Copy link

On ChromeOS we provide abseil-cpp as a system library. We have hacks to get autofdo building against the system abseil, but it would be preferable if there were officially supported CMake config options to support this.

Here is the CL were we hack around the bundled copy:
https://chromium-review.googlesource.com/c/chromiumos/overlays/chromiumos-overlay/+/4895161

The key parts of the hack are:

  1. Removing the bundled abseil
  2. Symlinking the system headers so the include paths in the source files are correct
  3. Replacing add_subdirectory(third_party/abseil) with find_package(absl REQUIRED)

Officially supporting it would probably look a bit different.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant