summaryrefslogtreecommitdiff
path: root/homebrew/superlu/.beer
blob: 2a3eba2cbf1f385f6393a98a15aea46ea642dec5 (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
{
    "name": "Superlu",
    "description": "Solve large, sparse nonsymmetric systems of equations",
    "url": "https://crd-legacy.lbl.gov/~xiaoye/SuperLU/superlu_5.2.1.tar.gz",
    "mirror": null,
    "homepage": "https://crd-legacy.lbl.gov/~xiaoye/SuperLU/",
    "depends": [
        {
            "depend": "veclibfort",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "ENV.deparallelize",
        "cp \"MAKE_INC/make.mac-x\", \"./make.inc\"",
        "args = [\"SuperLUroot=#{buildpath}\",",
        "\"SUPERLULIB=$(SuperLUroot)/lib/libsuperlu.a\",",
        "\"CC=#{ENV.cc}\",",
        "\"BLASLIB=-L#{Formula[\"veclibfort\"].opt_lib} -lvecLibFort\"]",
        "system \"make\", \"lib\", *args",
        "lib.install Dir[\"lib/*\"]",
        "(include/\"superlu\").install Dir[\"SRC/*.h\"]",
        "doc.install Dir[\"Doc/*\"]",
        "pkgshare.install \"EXAMPLE/dlinsol.c\"",
        "pkgshare.install \"EXAMPLE/g20.rua\""
    ],
    "version": "5.2.1",
    "file": "superlu.rb"
}