Debian Codegraph @

thirdparty/folly/build/fbcode_builder/manifests/zstd

raw
1 [manifest]
2 name = zstd
3
4 [homebrew]
5 zstd
6
7 # 18.04 zstd is too old
8 [debs.not(all(distro=ubuntu,distro_vers="18.04"))]
9 libzstd-dev
10
11 [rpms]
12 libzstd-devel
13 libzstd
14
15 [download]
16 url = https://github.com/facebook/zstd/releases/download/v1.5.5/zstd-1.5.5.tar.gz
17 sha256 = 9c4396cc829cfae319a6e2615202e82aad41372073482fce286fac78646d3ee4
18
19 [build]
20 builder = cmake
21 subdir = zstd-1.5.5/build/cmake
22
23 # The zstd cmake build explicitly sets the install name
24 # for the shared library in such a way that cmake discards
25 # the path to the library from the install_name, rendering
26 # the library non-resolvable during the build. The short
27 # term solution for this is just to link static on macos.
28 #
29 # And while we're at it, let's just always link statically.
30 [cmake.defines]
31 ZSTD_BUILD_SHARED = OFF