folly

An open-source C++ library developed and used at Facebook.

Latest version: 2024.10.07

Add to xmake.lua

add_requires("folly 2024.10.07")

Learn how to add and link packages with Xmake →

Information

License
Apache-2.0
Recipe updated
2024-10-21T01:09:09.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64
  • windows: x64

Options

libaio
Support compile with libaio · Type: boolean · Default: true
libdwarf
Support compile with libdwarf · Type: boolean · Default: true
liburing
Support compile with liburing · Type: boolean · Default: true
lzma
Support LZMA for compression · Type: boolean · Default: true

Versions

  • 2021.06.28
  • 2021.08.02
  • 2021.11.01
  • 2022.02.14
  • 2022.04.25
  • 2022.08.29
  • 2023.11.20
  • 2024.02.26
  • 2024.03.04
  • 2024.03.11
  • 2024.03.18
  • 2024.03.25
  • 2024.04.01
  • 2024.06.10
  • 2024.06.17
  • 2024.06.24
  • 2024.07.01
  • 2024.07.08
  • 2024.07.15
  • 2024.10.07

Dependencies

Used by (5)

Packages declaring this dependency; requirements can vary by platform and configuration.

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "folly 2024.10.07"

show info

xrepo info "folly"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("folly 2024.10.07")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("folly")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "folly 2024.10.07" shell