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-6.0"
9bug-reports: "http://llvm.org/bugs/"
10dev-repo: "git+http://llvm.org/git/llvm.git"
11homepage: "http://llvm.moe"
12install: [
13 ["bash" "-ex" "install.sh" "%{conf-llvm:config}%" lib "%{conf-cmake:cmd}%" make]
14]
15remove: [
16 ["rm" "-rf" "%{lib}%/llvm"]
17 ["sh" "-c" "rm -f %{lib}%/META.llvm*"]
18 ["sh" "-c" "rm -f %{stublibs}%/dllllvm*.so"]
19]
20depends: [
21 "ocaml" {>= "4.00.0"}
22 "ctypes" {>= "0.4"}
23 "ounit" {with-test}
24 "ocamlfind" {build}
25 "conf-llvm" {build & = "6.0.0"}
26 "conf-python-2-7" {build}
27 "conf-cmake" {build}
28]
29conflicts: [
30 "base-nnp"
31 "ocaml-option-nnpchecker"
32]
33patches: [
34 "fix-shared.patch"
35]
36synopsis: "The OCaml bindings distributed with LLVM"
37description: "Note: LLVM should be installed first."
38url {
39 src: "http://releases.llvm.org/6.0.0/llvm-6.0.0.src.tar.xz"
40 checksum: [
41 "sha256=1ff53c915b4e761ef400b803f07261ade637b0c269d99569f18040f3dcee4408"
42 "md5=788a11a35fa62eb008019b37187d09d2"
43 ]
44}
45extra-source "link-META.patch" {
46 src:
47 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/link-META.patch.6.0.0"
48 checksum: [
49 "sha256=4de73441a0451af01339f97157334f0a1de8f376c6b01088c3178729b1980b21"
50 "md5=ef4ebb8706be2ed402f31fc351d7dc75"
51 ]
52}
53extra-source "install.sh" {
54 src:
55 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/install.sh.6.0.0"
56 checksum: [
57 "sha256=a275a3f4d843f29ac2cf315f0861d8accceb70916453ecd6d9056896fb4f324b"
58 "md5=c8122f1f3c974594ba6c8767b187cdab"
59 ]
60}
61extra-source "fix-shared.patch" {
62 src:
63 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-shared.patch.6.0.0"
64 checksum: [
65 "sha256=d6d28fb8560d2c7b0f73c18c0b4e9a022ed7b1a6ee60ad6c048734ef6cc27baa"
66 "md5=fcaa336f76d54cfcb987d5b44c3895bf"
67 ]
68}
69extra-source "META.patch" {
70 src:
71 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/META.patch.6.0.0"
72 checksum: [
73 "sha256=adc2b3eb124aaeec42bd85a9cbfc93183c2d9e208938b9ab308de638e668d08f"
74 "md5=1d0af08bab7a0f831f68849b6556e414"
75 ]
76}