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]
23conflicts: [
24 "base-nnp"
25 "ocaml-option-nnpchecker"
26]
27patches: [
28 "fix-shared.patch"
29 "fix-macos.patch"
30 "fix-rhel.patch"
31]
32synopsis: "The OCaml bindings distributed with LLVM"
33description: "Note: LLVM should be installed first."
34url {
35 src: "https://github.com/llvm/llvm-project/releases/download/llvmorg-11.1.0/llvm-11.1.0.src.tar.xz"
36 checksum: "sha256=ce8508e318a01a63d4e8b3090ab2ded3c598a50258cc49e2625b9120d4c03ea5"
37}
38extra-source "link-META.patch" {
39 src:
40 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/link-META.patch.11.0.0"
41 checksum: [
42 "sha256=4de73441a0451af01339f97157334f0a1de8f376c6b01088c3178729b1980b21"
43 "md5=ef4ebb8706be2ed402f31fc351d7dc75"
44 ]
45}
46extra-source "install.sh" {
47 src:
48 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/install.sh.11.0.0"
49 checksum: [
50 "sha256=5525671c424c0a3c5823f0ca00dfa7a20432c378479e9ba532d3311c0e3b5731"
51 "md5=dcd03eb30e87129dbcc70a131aabfdaa"
52 ]
53}
54extra-source "fix-shared.patch" {
55 src:
56 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-shared.patch.11.0.0"
57 checksum: [
58 "sha256=0a0e29414bbb4f94ecb545ed6c6176760df8a26eaf6a022cc8ec276043790216"
59 "md5=818e192b6b54c0e392f2cdb2106b2e6f"
60 ]
61}
62extra-source "fix-rhel.patch" {
63 src:
64 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-rhel.patch.11.0.0"
65 checksum: [
66 "sha256=545c5f53af7fc843ba3db20127dae36e01c6a2235640a66aba1e5f394620c275"
67 "md5=ba4142dbfc65a4b1a09ee7233048c0bf"
68 ]
69}
70extra-source "fix-macos.patch" {
71 src:
72 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-macos.patch.11.0.0"
73 checksum: [
74 "sha256=42ff8062b529bfcc1d3ddad0d85f73236b8aa09e82fc2fb7a4c15a50397681c1"
75 "md5=ff33b723048e1f1a2d26505f272c8ae9"
76 ]
77}
78extra-source "META.patch" {
79 src:
80 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/META.patch.11.0.0"
81 checksum: [
82 "sha256=adc2b3eb124aaeec42bd85a9cbfc93183c2d9e208938b9ab308de638e668d08f"
83 "md5=1d0af08bab7a0f831f68849b6556e414"
84 ]
85}