folly icon indicating copy to clipboard operation
folly copied to clipboard

Folly can not be built on Linux as shared library

Open MasterXue opened this issue 1 year ago • 3 comments

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 avatar Jun 28 '23 12:06 MasterXue

OS: Ubuntu 20.04 Folly version: v2023.06.26.00

MasterXue avatar Jun 28 '23 12:06 MasterXue

Readme says

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

dyumin avatar Jul 13 '23 08:07 dyumin

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

0x8A63F77D avatar Sep 06 '23 09:09 0x8A63F77D