summaryrefslogtreecommitdiff
path: root/homebrew/folly/.beer
blob: c09b699289b0346b8ac6eda720d8b1f6f3fa5825 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
    "name": "Folly",
    "description": "Collection of reusable C++ library artifacts developed at Facebook",
    "url": "https://github.com/facebook/folly/archive/v2019.03.18.00.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/facebook/folly",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "boost",
            "build-depend": false
        },
        {
            "depend": "double-conversion",
            "build-depend": false
        },
        {
            "depend": "gflags",
            "build-depend": false
        },
        {
            "depend": "glog",
            "build-depend": false
        },
        {
            "depend": "libevent",
            "build-depend": false
        },
        {
            "depend": "lz4",
            "build-depend": false
        },
        {
            "depend": "macos",
            "build-depend": false
        },
        {
            "depend": "openssl",
            "build-depend": false
        },
        {
            "depend": "snappy",
            "build-depend": false
        },
        {
            "depend": "xz",
            "build-depend": false
        },
        {
            "depend": "zstd",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [
        {
            "url": "https://github.com/facebook/folly/commit/964ca3c4979f72115ebfec58056e968a69d5942c.diff?full_index=1",
            "strip": "1"
        }
    ],
    "install": [
        "ENV.cxx11",
        "mkdir \"_build\" do",
        "args = std_cmake_args + %w[",
        "-DFOLLY_USE_JEMALLOC=OFF",
        "]",
        "args << \"-DCOMPILER_HAS_F_ALIGNED_NEW=OFF\" if MacOS.version == :sierra",
        "system \"cmake\", \"..\", *args, \"-DBUILD_SHARED_LIBS=ON\"",
        "system \"make\"",
        "system \"make\", \"install\"",
        "system \"make\", \"clean\"",
        "system \"cmake\", \"..\", *args, \"-DBUILD_SHARED_LIBS=OFF\"",
        "system \"make\"",
        "lib.install \"libfolly.a\", \"folly/libfollybenchmark.a\""
    ],
    "version": "2019.03.18.00",
    "file": "folly.rb"
}