summaryrefslogtreecommitdiff
path: root/homebrew/caffe/.beer
blob: b1143bc605693ae26efab84962c130b199a04672 (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
87
88
{
    "name": "Caffe",
    "description": "Fast open framework for deep learning",
    "url": "https://github.com/BVLC/caffe/archive/1.0.tar.gz",
    "mirror": null,
    "homepage": "https://caffe.berkeleyvision.org/",
    "depends": [
        {
            "depend": "cmake",
            "build-depend": true
        },
        {
            "depend": "boost",
            "build-depend": false
        },
        {
            "depend": "gflags",
            "build-depend": false
        },
        {
            "depend": "glog",
            "build-depend": false
        },
        {
            "depend": "hdf5",
            "build-depend": false
        },
        {
            "depend": "leveldb",
            "build-depend": false
        },
        {
            "depend": "lmdb",
            "build-depend": false
        },
        {
            "depend": "opencv",
            "build-depend": false
        },
        {
            "depend": "protobuf",
            "build-depend": false
        },
        {
            "depend": "snappy",
            "build-depend": false
        },
        {
            "depend": "szip",
            "build-depend": false
        }
    ],
    "resource": [
        {
            "name": "test_model_weights",
            "url": "http://dl.caffe.berkeleyvision.org/bvlc_reference_caffenet.caffemodel"
        }
    ],
    "conflicts": [],
    "patches": [
        {
            "url": "https://github.com/BVLC/caffe/pull/6638.diff?full_index=1",
            "strip": "1"
        }
    ],
    "install": [
        "ENV.cxx11",
        "args = std_cmake_args + %w[",
        "-DALLOW_LMDB_NOLOCK=OFF",
        "-DBUILD_SHARED_LIBS=ON",
        "-DBUILD_docs=OFF",
        "-DBUILD_matlab=OFF",
        "-DBUILD_python=OFF",
        "-DBUILD_python_layer=OFF",
        "-DCPU_ONLY=ON",
        "-DUSE_LEVELDB=ON",
        "-DUSE_LMDB=ON",
        "-DUSE_NCCL=OFF",
        "-DUSE_OPENCV=ON",
        "-DUSE_OPENMP=OFF",
        "]",
        "system \"cmake\", \".\", *args",
        "system \"make\", \"install\"",
        "pkgshare.install \"models\""
    ],
    "version": "1.0",
    "file": "caffe.rb"
}