devel/folly 2026.10.12.00
C++ library developed and used at Facebook
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Last update
- Commit
4f2e895038- License
- APACHE20
- Categories
- devel
Description
Folly (acronymed loosely after Facebook Open Source Library) is a library of C++14 components designed with practicality and efficiency in mind. Folly contains a variety of core library components used extensively at Facebook. In particular, it's often a dependency of Facebook's other open source C++ efforts and place where those projects can share code.
It complements (as opposed to competing against) offerings such as Boost and of course std. In fact, we embark on defining our own component only when something we need is either not available, or does not meet the needed performance profile. We endeavor to remove things from folly if or when std or Boost obsoletes them.
Performance concerns permeate much of Folly, sometimes leading to designs that are more idiosyncratic than they would otherwise be (see e.g. PackedSyncPtr.h, SmallLocks.h). Good performance at large scale is a unifying theme in all of Folly.
Install
As a binary package — by origin, or by package name:
pkg install devel/folly
pkg install folly
From the ports tree:
cd /usr/ports/devel/folly/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= folly>0:devel/folly
LIB_DEPENDS= libfolly.so:devel/folly
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 2026.10.12.00 | - | 2025.08.18.00 | - |
| FreeBSD:14:quarterly | - | 2026.08.31.00_1 | n/a | 2025.06.23.00 | - |
| FreeBSD:15:latest | - | 2026.10.12.00 | n/a | 2025.08.18.00 | - |
| FreeBSD:15:quarterly | - | 2026.08.31.00_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 2026.10.12.00 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 2
elfutils>0: devel/elfutilsfast_float>0: math/fast_float
Library 13
libboost_atomic.so: devel/boost-libslibbzip2.so: misc/vxllibdouble-conversion.so: devel/double-conversionlibevent.so: devel/libeventlibfmt.so: devel/libfmtlibgflags.so: devel/gflagslibglog.so: devel/gloglibicui18n.so: devel/iculiblz4.so: archivers/liblz4libsnappy.so: archivers/snappylibsodium.so: security/libsodiumlibunwind.so: devel/libunwindlibzstd.so: archivers/zstd
Runtime 1
elfutils>0: devel/elfutils
Test 1
googletest>0: devel/googletest
The full lists below include those, and their dependencies in turn.
All build dependencies 48
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/snappy
- archivers/zstd
- databases/sqlite3
- devel/argp-standalone
- devel/boost-libs
- devel/cmake-core
- devel/double-conversion
- devel/elfutils
- devel/gettext-runtime
- devel/gflags
- devel/glog
- devel/icu
- devel/jsoncpp
- devel/libedit
- devel/libevent
- devel/libffi
- devel/libfmt
- devel/libunistring
- devel/libunwind
- devel/libuv
- devel/ninja
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lerc
- graphics/libgeotiff
- graphics/png
- graphics/proj
- graphics/tiff
- lang/python312
- lang/tcl86
- math/fast_float
- math/libtommath
- math/mpdecimal
- misc/vxl
- ports-mgmt/pkg
- print/indexinfo
- security/libsodium
- security/libssh2
- security/rhash
- textproc/expat2
- www/libnghttp2
All run dependencies 36
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/snappy
- archivers/zstd
- databases/sqlite3
- devel/argp-standalone
- devel/boost-libs
- devel/double-conversion
- devel/elfutils
- devel/gettext-runtime
- devel/gflags
- devel/glog
- devel/icu
- devel/libedit
- devel/libevent
- devel/libfmt
- devel/libunistring
- devel/libunwind
- dns/libidn2
- dns/libpsl
- ftp/curl
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lerc
- graphics/libgeotiff
- graphics/png
- graphics/proj
- graphics/tiff
- lang/tcl86
- math/libtommath
- misc/vxl
- print/indexinfo
- security/libsodium
- security/libssh2
- www/libnghttp2
Configuration
No options to configure.
- USES
- cmake compiler:c++17-lang cpe localbase ssl
- Service scripts
- none
Files
pkg-plist 1049
- include/folly/AtomicHashArray-inl.h
- include/folly/AtomicHashArray.h
- include/folly/AtomicHashMap-inl.h
- include/folly/AtomicHashMap.h
- include/folly/AtomicIntrusiveLinkedList.h
- include/folly/AtomicLinkedList.h
- include/folly/AtomicUnorderedMap.h
- include/folly/Benchmark.h
- include/folly/BenchmarkUtil.h
- include/folly/Bits.h
- include/folly/CPortability.h
- include/folly/CancellationToken-inl.h
- include/folly/CancellationToken.h
- include/folly/Chrono.h
- include/folly/ClockGettimeWrappers.h
- include/folly/ConcurrentBSkipList-detail.h
- include/folly/ConcurrentBSkipList.h
- include/folly/ConcurrentBitSet.h
- include/folly/ConcurrentLazy.h
- include/folly/ConcurrentSkipList-inl.h
- include/folly/ConcurrentSkipList.h
- include/folly/ConstexprMath.h
- include/folly/ConstructorCallbackList.h
- include/folly/Conv.h
- include/folly/CppAttributes.h
- include/folly/CpuId.h
- include/folly/DefaultKeepAliveExecutor.h
- include/folly/Demangle.h
- include/folly/DiscriminatedPtr.h
- include/folly/DynamicConverter.h
- include/folly/Exception.h
- include/folly/ExceptionString.h
- include/folly/ExceptionWrapper-inl.h
- include/folly/ExceptionWrapper.h
- include/folly/Executor.h
- include/folly/Expected.h
- include/folly/FBString.h
- include/folly/FBVector.h
- include/folly/File.h
- include/folly/FileUtil.h
- include/folly/Fingerprint.h
- include/folly/FixedString.h
- include/folly/FmtUtility.h
- include/folly/FollyMemcpy.h
- include/folly/FollyMemset.h
- include/folly/Format-inl.h
- include/folly/Format.h
- include/folly/FormatArg.h
- include/folly/FormatTraits.h
- include/folly/Function.h
- include/folly/GLog.h
- include/folly/GetRefUtil.h
- include/folly/GroupVarint.h
- include/folly/Hash.h
- include/folly/IPAddress.h
- include/folly/IPAddressException.h
- include/folly/IPAddressV4.h
- include/folly/IPAddressV6.h
- include/folly/Indestructible.h
- include/folly/IndexedMemPool.h
- include/folly/Indirect.h
- include/folly/IntrusiveList.h
- include/folly/Lazy.h
- include/folly/Likely.h
- include/folly/MPMCPipeline.h
- include/folly/MPMCQueue.h
- include/folly/MacAddress.h
- include/folly/MapUtil.h
- include/folly/Math.h
- include/folly/MaybeManagedPtr.h
- include/folly/Memory.h
- include/folly/MicroLock.h
- include/folly/MicroSpinLock.h
- include/folly/MoveWrapper.h
- include/folly/ObserverContainer.h
- include/folly/OperationCancelled.h
- include/folly/Optional.h
- include/folly/Overload.h
- include/folly/PackedSyncPtr.h
- include/folly/Padded.h
- include/folly/Poly-inl.h
- include/folly/Poly.h
- include/folly/PolyException.h
- include/folly/Portability.h
- include/folly/Preprocessor.h
- include/folly/ProducerConsumerQueue.h
- include/folly/RWSpinLock.h
- include/folly/Random-inl.h
- include/folly/Random.h
- include/folly/Range.h
- include/folly/Replaceable.h
- include/folly/ScopeGuard.h
- include/folly/SharedMutex.h
- include/folly/Singleton-inl.h
- include/folly/Singleton.h
- include/folly/SingletonThreadLocal.h
- include/folly/SocketAddress.h
- include/folly/SpinLock.h
- include/folly/String-inl.h
- include/folly/String.h
The first 100 are listed.
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| facebook-folly-v2026.10.12.00_GH0.tar.gz | 5.636095e+06 | 95108eb46030a249326343a468c543bc0d1e5599a4f37e31f241501877fc0c8c |
Commit history 10
The latest 5 of 10 in the history this site was built from.