@ -1,40 +1,32 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := libfolly
PKG_VERSION := 2019.05.27 .00
PKG_VERSION := 2019.06.10 .00
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/facebook/folly/tar.gz/v$( PKG_VERSION) ?
PKG_HASH := 7535937e4b4bde14e6c854dc55a5fe9f290ccf1918621f20678ebecd0c1239e1
PKG_HASH := afecd68815a83865d95a3a6b861abe8096beefae45c89566e0d510279b631b57
PKG_BUILD_DIR := $( BUILD_DIR) /folly-$( PKG_VERSION)
PKG_MAINTAINER := Amol Bhave <ambhave@fb.com>
PKG_LICENSE := Apache-2.0
PKG_LICENSE_FILES := LICENSE
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / c m a k e . m k
PKG_BUILD_PARALLEL := 1
CMAKE_OPTIONS := \
-DCMAKE_POSITION_INDEPENDENT_CODE= ON \
-DCXX_STD= gnu++14 \
-DFOLLY_HAVE_UNALIGNED_ACCESS_EXITCODE= OFF \
-DFOLLY_HAVE_LINUX_VDSO_EXITCODE= OFF \
-DFOLLY_HAVE_WCHAR_SUPPORT_EXITCODE= OFF \
-DHAVE_VSNPRINTF_ERRORS_EXITCODE= OFF \
-DFOLLY_HAVE_XSI_STRERROR_R_EXITCODE= 0 \
-DBUILD_SHARED_LIBS= ON
CMAKE_INSTALL := 1
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / c m a k e . m k
d e f i n e P a c k a g e / l i b f o l l y
SECTION:= libs
CATEGORY:= Libraries
TITLE:= An open-source C++ library developed and used at Facebook.
URL:= https://github.com/facebook/folly
DEPENDS:= +boost +boost-context +boost-date_time +boost-filesystem +boost-program_options +boost-regex \
+libopenssl +libdouble-conversion +libevent2 +glog +libsodium +libaio +libunwind +lib atomic \
+libbz2 +zlib +libzstd +liblzma +liblz4
+libopenssl +libdouble-conversion +libevent2 +glog +libsodium +libaio +libatomic \
+libbz2 +zlib +libzstd +liblzma +liblz4 +PACKAGE_libunwind:libunwind
e n d e f
d e f i n e P a c k a g e / l i b f o l l y / d e s c r i p t i o n
@ -45,6 +37,16 @@ define Package/libfolly/description
This package includes the shared library.
e n d e f
CMAKE_OPTIONS += \
-DCMAKE_POSITION_INDEPENDENT_CODE= ON \
-DCXX_STD= gnu++14 \
-DFOLLY_HAVE_UNALIGNED_ACCESS_EXITCODE= OFF \
-DFOLLY_HAVE_LINUX_VDSO_EXITCODE= OFF \
-DFOLLY_HAVE_WCHAR_SUPPORT_EXITCODE= OFF \
-DHAVE_VSNPRINTF_ERRORS_EXITCODE= OFF \
-DFOLLY_HAVE_XSI_STRERROR_R_EXITCODE= 0 \
-DBUILD_SHARED_LIBS= ON
d e f i n e P a c k a g e / l i b f o l l y / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libfolly*.so* $( 1) /usr/lib/