summaryrefslogtreecommitdiff
path: root/homebrew/hypre/.beer
blob: 06330e727957bebecfa27d7fa958f76a1404d4c2 (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
{
    "name": "Hypre",
    "description": "Library featuring parallel multigrid methods for grid problems",
    "url": "https://github.com/hypre-space/hypre/archive/v2.16.0.tar.gz",
    "mirror": null,
    "homepage": "https://computation.llnl.gov/casc/hypre/software.html",
    "depends": [
        {
            "depend": "gcc",
            "build-depend": false
        },
        {
            "depend": "open-mpi",
            "build-depend": false
        },
        {
            "depend": "veclibfort",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "cd \"src\" do",
        "ENV[\"CC\"] = ENV[\"MPICC\"]",
        "ENV[\"CXX\"] = ENV[\"MPICXX\"]",
        "system \"./configure\", \"--prefix=#{prefix}\",",
        "\"--with-blas=yes\",",
        "\"--with-blas-libs=blas cblas\",",
        "\"--with-blas-lib-dirs=/usr/lib\",",
        "\"--with-lapack=yes\",",
        "\"--with-lapack-libs=lapack clapack f77lapack\",",
        "\"--with-lapack-lib-dirs=/usr/lib\",",
        "\"--with-MPI\",",
        "\"--enable-bigint\"",
        "system \"make\", \"install\""
    ],
    "version": "2.16.0",
    "file": "hypre.rb"
}