-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
68 lines (68 loc) · 2.02 KB
/
opam
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
opam-version: "2.0"
maintainer: "Kate <kit.ty.kate@disroot.org>"
authors: [
"whitequark <whitequark@whitequark.org>"
"The LLVM team"
]
license: "MIT"
doc: "http://llvm.moe/ocaml-9.0"
bug-reports: "http://llvm.org/bugs/"
dev-repo: "git+http://llvm.org/git/llvm.git"
homepage: "http://llvm.moe"
install: [
["bash" "-ex" "install.sh" "%{conf-llvm:config}%" lib "%{conf-cmake:cmd}%" make]
]
depends: [
"ocaml" {>= "4.00.0"}
"ctypes" {>= "0.4"}
"ounit" {with-test}
"ocamlfind" {build}
"conf-llvm" {build & = version}
"conf-python-2-7" {build}
"conf-cmake" {build}
]
conflicts: [
"base-nnp"
"ocaml-option-nnpchecker"
]
patches: [
"fix-shared.patch"
]
synopsis: "The OCaml bindings distributed with LLVM"
description: "Note: LLVM should be installed first."
url {
src: "http://releases.llvm.org/9.0.0/llvm-9.0.0.src.tar.xz"
checksum: "sha256=d6a0565cf21f22e9b4353b2eb92622e8365000a9e90a16b09b56f8157eabfe84"
}
extra-source "link-META.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/link-META.patch.9.0.0"
checksum: [
"sha256=4de73441a0451af01339f97157334f0a1de8f376c6b01088c3178729b1980b21"
"md5=ef4ebb8706be2ed402f31fc351d7dc75"
]
}
extra-source "install.sh" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/install.sh.9.0.0"
checksum: [
"sha256=794c197a0ddaf5f7740492ca57007b0aa782669b3e573e9f01c8a5b6a596c8fb"
"md5=76fb00c644110c73d04b15a2afb1aaf3"
]
}
extra-source "fix-shared.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-shared.patch.9.0.0"
checksum: [
"sha256=286bf7a89630d9197eea31f1aad1416fd7e212359c59e481fb3651bb427a1ed0"
"md5=826e4bf2e63e510bc6cc1e6a321d1b22"
]
}
extra-source "META.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/META.patch.9.0.0"
checksum: [
"sha256=adc2b3eb124aaeec42bd85a9cbfc93183c2d9e208938b9ab308de638e668d08f"
"md5=1d0af08bab7a0f831f68849b6556e414"
]
}