-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
62 lines (62 loc) · 1.79 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
opam-version: "2.0"
maintainer: "Kate <kit.ty.kate@disroot.org>"
authors: [
"whitequark <whitequark@whitequark.org>"
"The LLVM team"
]
bug-reports: "http://llvm.org/bugs/"
dev-repo: "git+http://llvm.org/git/llvm.git"
homepage: "http://llvm.moe"
patches: [
"makefile+build.patch"
"makefile+system.patch"
]
remove: [
["sh" "./compile.sh" "uninstall" "3.4" make prefix lib]
]
depexts: [
["llvm-3.4-dev"] {os-family = "debian"}
["homebrew/versions/llvm34"] {os = "macos" & os-distribution = "homebrew"}
]
depends: [
"ocaml"
"ocamlbuild" {build}
]
conflicts: [
"base-nnp"
"ocaml-option-nnpchecker"
]
install: ["sh" "./compile.sh" "install" "3.4" make prefix lib]
synopsis: "The official LLVM binding"
description: "Note: LLVM should be installed first."
url {
src: "http://llvm.org/releases/3.4/llvm-3.4.src.tar.gz"
checksum: [
"sha256=25a5612d692c48481b9b397e2b55f4870e447966d66c96d655241702d44a2628"
"md5=46ed668a1ce38985120dbf6344cf6116"
]
}
extra-source "makefile+system.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/makefile+system.patch"
checksum: [
"sha256=fb1393cc154366796320e82423166acc3226cece5efd53fc63be504c5bfdacfe"
"md5=6fc0b615b8dca7d45fbcb45c54290a83"
]
}
extra-source "makefile+build.patch" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/makefile+build.patch"
checksum: [
"sha256=38e7388cb488cff35ed061c7592c40061a0954657fc5bcb7d04b1da8eb0ef5fb"
"md5=edb1745aeaaa21dfa5f2a4c7ef5479c9"
]
}
extra-source "compile.sh" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/compile.sh"
checksum: [
"sha256=b11c1fce74389fbebb9ef64ea8c88af600af45bc3022b2b1711fbf044753bfda"
"md5=2e3b275a27d0732fda7547347766dca4"
]
}