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-3" {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-14.0.6/llvm-project-14.0.6.src.tar.xz"
36 checksum: "sha256=8b3cfd7bc695bd6cea0f37f53f0981f34f87496e79e2529874fd03a2f9dd3a8a"
37}
38extra-source "link-META.patch" {
39 src:
40 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/link-META.patch.14.0.6"
41 checksum: [
42 "sha256=78fbd33757ef344b08da406889961a028029e6d0cf992eb38d4e1c2a5963c941"
43 "md5=bbb99db647b80baaa34054e1a957f218"
44 ]
45}
46extra-source "install.sh" {
47 src:
48 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/install.sh.14.0.6"
49 checksum: [
50 "sha256=aa2f7c1113513dcd8559fb20469792f2babfa6645cc95f48a3de9d3796654943"
51 "md5=2db75a6673ad476cdb464dd90021d51a"
52 ]
53}
54extra-source "fix-shared.patch" {
55 src:
56 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-shared.patch.14.0.6"
57 checksum: [
58 "sha256=624924720731fd78f6c7d6bfbc4bc74c4e3feb158b5cc67b486e3ed89a333cd1"
59 "md5=bdc3f688681e9c56d92514ba4ef68cb9"
60 ]
61}
62extra-source "fix-rhel.patch" {
63 src:
64 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-rhel.patch.14.0.6"
65 checksum: [
66 "sha256=fef57c09c89517fb62d79b1fc8f305e01cddbec448f04c21a1958174c07c8366"
67 "md5=e1db49b76f8795f3d3e276fd9e10db72"
68 ]
69}
70extra-source "fix-macos.patch" {
71 src:
72 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-macos.patch.14.0.6"
73 checksum: [
74 "sha256=148f4a919fa5c2ed1d855b34ca49509170308e4cd0f3c6d45cb9ed45aee2577e"
75 "md5=86664021a2819e4a0a9ebe5f3cafe819"
76 ]
77}
78extra-source "META.patch" {
79 src:
80 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/META.patch.14.0.6"
81 checksum: [
82 "sha256=db30036b7e5dc51e266ceecf1c1bc42eaaf3976bc1a289026f589a48e65e56e6"
83 "md5=c63515a9c59101ebf71ecf83ddf6ec9f"
84 ]
85}