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

Vendor and link C++ dependencies #9581

Closed
wants to merge 1 commit into from

Conversation

mszabo-wikia
Copy link
Contributor

Since HHVM OSS currently only builds with libc++, we need to build all C++ dependencies from source against libc++, since their system library equivalents are built against libstdc++ on most distros and therefore ABI incompatible.

Add listfiles to conditionally build gflags and glog from source accordingly if the corresponding CLANG_FORCE_LIBCPP build option is set, and update existing listfiles to correctly forward compiler options so that vendored projects are also built against libc++ if the superproject is doing so.

As we're here, update the fmtlib version used by the project, as v8 is too old to build with.

Since HHVM OSS currently only builds with libc++, we need to build all
C++ dependencies from source against libc++, since their system library
equivalents are built against libstdc++ on most distros and therefore
ABI incompatible.

Add listfiles to conditionally build gflags and glog from source
accordingly if the corresponding CLANG_FORCE_LIBCPP build option is set,
and update existing listfiles to correctly forward compiler options so
that vendored projects are also built against libc++ if the superproject
is doing so.
@facebook-github-bot
Copy link
Contributor

@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. (Because this pull request was imported automatically, there will not be any future comments.)

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 91448a6.

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

Successfully merging this pull request may close these issues.

2 participants