# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim: fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
github.setup facebook folly 2019.09.16.00 v
description An open-source C++ library developed and used at Facebook.
long_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.
checksums rmd160 4146c1e95e307ae755f0997a27a879891dd73f51 \
sha256 3f7daeb1755246a92b890079dd3881070be8478e1ccfb0dc21037a54de87edbb \
# doesn't build with libressl as of 2016-09-05
depends_lib-append port:boost \
path:lib/libssl.dylib:openssl \
configure.args-append -DBUILD_SHARED_LIBS=ON -DFOLLY_USE_JEMALLOC=0
compiler.cxx_standard 2014
configure.cxxflags-append -std=c++14
# https://github.com/facebook/folly/issues/864
configure.args-append -DCOMPILER_HAS_F_ALIGNED_NEW=OFF
configure.cxxflags-append -fno-aligned-allocation
# Support for TCP fast-open was only added to macOS 10.11+