this repo has no description
1opam-version: "2.0"
2maintainer: "Kate <kit.ty.kate@disroot.org>"
3authors: [
4 "whitequark <whitequark@whitequark.org>"
5 "The LLVM team"
6]
7license: "MIT"
8doc: "http://llvm.moe/ocaml"
9bug-reports: "http://llvm.org/bugs/"
10dev-repo: "git+http://llvm.org/git/llvm.git"
11homepage: "http://llvm.moe"
12build: ["bash" "-ex" "install.sh" "%{conf-llvm:config}%" lib "%{conf-cmake:cmd}%" make "build"]
13install: ["bash" "-ex" "install.sh" "%{conf-llvm:config}%" lib "%{conf-cmake:cmd}%" make "install"]
14depends: [
15 "ocaml" {>= "4.00.0"}
16 "ctypes" {>= "0.4"}
17 "ounit" {with-test}
18 "ocamlfind" {build}
19 "conf-llvm" {build & = version}
20 "conf-python-2-7" {build}
21 "conf-cmake" {build}
22 "conf-bash" {build}
23]
24conflicts: [
25 "base-nnp"
26 "ocaml-option-nnpchecker"
27]
28patches: [
29 "fix-shared.patch"
30 "fix-macos.patch"
31 "fix-rhel.patch"
32]
33synopsis: "The OCaml bindings distributed with LLVM"
34description: "Note: LLVM should be installed first."
35url {
36 src: "https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/llvm-10.0.0.src.tar.xz"
37 checksum: "sha256=df83a44b3a9a71029049ec101fb0077ecbbdf5fe41e395215025779099a98fdf"
38}
39extra-source "link-META.patch" {
40 src:
41 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/link-META.patch.10.0.0"
42 checksum: [
43 "sha256=4de73441a0451af01339f97157334f0a1de8f376c6b01088c3178729b1980b21"
44 "md5=ef4ebb8706be2ed402f31fc351d7dc75"
45 ]
46}
47extra-source "install.sh" {
48 src:
49 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/install.sh.10.0.0"
50 checksum: [
51 "sha256=5525671c424c0a3c5823f0ca00dfa7a20432c378479e9ba532d3311c0e3b5731"
52 "md5=dcd03eb30e87129dbcc70a131aabfdaa"
53 ]
54}
55extra-source "fix-shared.patch" {
56 src:
57 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-shared.patch.10.0.0"
58 checksum: [
59 "sha256=0a0e29414bbb4f94ecb545ed6c6176760df8a26eaf6a022cc8ec276043790216"
60 "md5=818e192b6b54c0e392f2cdb2106b2e6f"
61 ]
62}
63extra-source "fix-rhel.patch" {
64 src:
65 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-rhel.patch.10.0.0"
66 checksum: [
67 "sha256=545c5f53af7fc843ba3db20127dae36e01c6a2235640a66aba1e5f394620c275"
68 "md5=ba4142dbfc65a4b1a09ee7233048c0bf"
69 ]
70}
71extra-source "fix-macos.patch" {
72 src:
73 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-macos.patch.10.0.0"
74 checksum: [
75 "sha256=42ff8062b529bfcc1d3ddad0d85f73236b8aa09e82fc2fb7a4c15a50397681c1"
76 "md5=ff33b723048e1f1a2d26505f272c8ae9"
77 ]
78}
79extra-source "META.patch" {
80 src:
81 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/META.patch.10.0.0"
82 checksum: [
83 "sha256=adc2b3eb124aaeec42bd85a9cbfc93183c2d9e208938b9ab308de638e668d08f"
84 "md5=1d0af08bab7a0f831f68849b6556e414"
85 ]
86}