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

Folly can not be built on Linux as shared library #2026

Open
MasterXue opened this issue Jun 28, 2023 · 3 comments
Open

Folly can not be built on Linux as shared library #2026

MasterXue opened this issue Jun 28, 2023 · 3 comments

Comments

@MasterXue
Copy link

I want to compile folly into a shared link library (the default is static) on linux, but I didn't find the relevant instructions, and I don't know if it can be achieved

@MasterXue
Copy link
Author

OS: Ubuntu 20.04
Folly version: v2023.06.26.00

@dyumin
Copy link

dyumin commented Jul 13, 2023

Readme says

Because folly does not provide any ABI compatibility guarantees from commit to commit, we generally recommend building folly as a static library.

@0x8A63F77D
Copy link

Build with this flag:-DFOLLY_SUPPORT_SHARED_LIBRARY=ON
Note the binary will be extremely huge.

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

3 participants