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 "add-cmt-for-llvm-13.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-13.0.0/llvm-13.0.0.src.tar.xz"
37 checksum: "sha256=408d11708643ea826f519ff79761fcdfc12d641a2510229eec459e72f8163020"
38}
39extra-source "link-META.patch" {
40 src:
41 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/link-META.patch.13.0.0"
42 checksum: [
43 "sha256=b35087391e010583128b60004775e9cd31e76cb3b4d3c70c227261c52f5cfcba"
44 "md5=53dc8e72917585d235b9bbb3e06eed2b"
45 ]
46}
47extra-source "install.sh" {
48 src:
49 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/install.sh.13.0.0"
50 checksum: [
51 "sha256=146236f085f89a2ad8347a968eb31458864911d9deab688453244ff438a139a0"
52 "md5=f318260916581cbf0a8e7aa2903ac6d2"
53 ]
54}
55extra-source "fix-shared.patch" {
56 src:
57 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/fix-shared.patch.13.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.13.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.13.0.0"
74 checksum: [
75 "sha256=42ff8062b529bfcc1d3ddad0d85f73236b8aa09e82fc2fb7a4c15a50397681c1"
76 "md5=ff33b723048e1f1a2d26505f272c8ae9"
77 ]
78}
79extra-source "add-cmt-for-llvm-13.patch" {
80 src:
81 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/add-cmt-for-llvm-13.patch"
82 checksum: [
83 "sha256=160f09e4c997f512745b96244d8a6031a1f794951f1516589338e45927b876fd"
84 "md5=248ec7d17ebd1592fc99848016d9452b"
85 ]
86}
87extra-source "META.patch" {
88 src:
89 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/META.patch.13.0.0"
90 checksum: [
91 "sha256=7563138ac4e4f75e48d844f1e185dca114157ec04d019065c381c6a8366b69d0"
92 "md5=4c3cf99d06d2044e2ce5a853e5a16d5e"
93 ]
94}