Package Details: folly 2024.10.28.00-1

Git Clone URL: https://aur.archlinux.org/folly.git (read-only, click to copy)
Package Base: folly
Description: An open-source C++ library developed and used at Facebook
Upstream URL: https://github.com/facebook/folly
Licenses: Apache-2.0
Provides: libfolly.so, libfollybenchmark.so, libfolly_test_util.so
Submitter: dseg
Maintainer: ftiasch (MrAnno, carsme)
Last Packager: carsme
Votes: 7
Popularity: 0.000958
First Submitted: 2015-03-20 08:29 (UTC)
Last Updated: 2024-11-03 16:14 (UTC)

Pinned Comments

carsme commented on 2023-12-07 04:02 (UTC)

BREAKING CHANGE: This package now builds shared objects:

/usr/lib/libfolly.so
/usr/lib/libfolly_test_util.so
/usr/lib/libfollybenchmark.so

instead of the static libraries:

/usr/lib/libfolly.a
/usr/lib/libfolly_exception_counter.a
/usr/lib/libfolly_exception_tracer.a
/usr/lib/libfolly_exception_tracer_base.a
/usr/lib/libfolly_test_util.a
/usr/lib/libfollybenchmark.a

Downstream packages must move folly from the makedepends to depends array to stay functional.

We are doing this change since dynamic rather than static linking between packages is more in line with Arch Linux packaging practices (or just Linux packaging practices in general).

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

zwkno1 commented on 2019-08-17 10:35 (UTC)

/usr/lib/cmake/folly/folly-targets.cmake error,it casuse other package which depend folly build error:

CMake Error in CMakeLists.txt: Imported target "Folly::folly" includes non-existent path

"//include" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

The path was deleted, renamed, or moved to another location.

An install or uninstall procedure did not complete successfully.

The installation package was faulty and references files it does not provide.

CMake Error in CMakeLists.txt: Imported target "Folly::folly" includes non-existent path

"//include" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:

The path was deleted, renamed, or moved to another location.

An install or uninstall procedure did not complete successfully.

The installation package was faulty and references files it does not provide.

-- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.

MrAnno commented on 2019-08-04 09:17 (UTC)

Thanks!

MrAnno commented on 2019-08-03 21:09 (UTC)

Please update this package to v2019.07.29.00. The update of fizz, wangle, proxygen and fbthrift depend on folly.

jghodd commented on 2019-04-22 14:28 (UTC)

Just a heads-up that there's a typo in Zstd.cpp's code that prevents building.


281c281
<   zstdThrowIfError(ZSTD_CCtxParams_setParameter(params_.get(), param, value));
---
>   zstdThrowIfError(ZSTD_CCtxParam_setParameter(params_.get(), param, value));

The first line is corrected. The second is the original. Might need a patch...

Cebtenzzre commented on 2018-10-13 21:37 (UTC) (edited on 2018-10-13 21:38 (UTC) by Cebtenzzre)

This package installs to /usr/local. According to https://wiki.archlinux.org/index.php/creating_packages#build%28%29, "All Arch Linux packages should use the /usr directory."

CMAKE_INSTALL_PREFIX may be of use.

ftiasch commented on 2018-07-27 04:23 (UTC)

@VOID001 Hi, it seems that https://github.com/facebook/folly/blob/master/folly/libfolly.pc.in was not updated for about 2 years. Currently, folly's CMake (previously autoconf) does not generate libfolly.pc for me. Do you have a reliable way to fix?

VOID001 commented on 2018-07-27 03:02 (UTC) (edited on 2018-07-27 03:02 (UTC) by VOID001)

@ftiasch Hi, could you please include folly.pc file and install it to pkg-config dir? some packages depends on libfolly needs .pc file to resolve deps , such as facebook oomd. Thanks

mmlac commented on 2017-06-04 05:34 (UTC)

This breaks since GCC 7 was adopted by Arch. - Install gcc5 from repo - export CC=gcc-5 export CXX=g++-5 Build Folly as usual

sleeping commented on 2017-04-25 07:57 (UTC) (edited on 2017-04-25 08:04 (UTC) by sleeping)

folly fails to compile with OpenSSL 1.1.0. https://github.com/facebook/folly/issues/573 Looking at https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/ncrack Consider making openssl-1.0 a dependency and compile using that. Just copy these before the configure call CFLAGS+=" -I/usr/include/openssl-1.0" \ CPPFLAGS+=" -I/usr/include/openssl-1.0" \ LDFLAGS+=" -L/usr/lib/openssl-1.0" \ See for example https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/ncrack Worked for me!

dseg commented on 2017-03-09 03:53 (UTC)

Updated to the latest version. Hey guys, Please up vote if you found this package useful. (Currently 0 votes, I got only claims. sigh..)