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-3.9"
9bug-reports: "http://llvm.org/bugs/"
10dev-repo: "git+http://llvm.org/git/llvm.git"
11homepage: "http://llvm.moe"
12patches: [
13 "D24354.diff"
14 "cmake.patch"
15]
16build: [
17 ["bash" "-ex" "build.sh" "%{conf-llvm:config}%" lib "%{conf-cmake:cmd}%"]
18 [make "-C" "build" "ocaml_all"]
19]
20install: [
21 [make "-C" "build/bindings/ocaml" "install/fast"]
22]
23remove: [
24 ["ocamlfind" "remove" "llvm"]
25 ["sh" "-c" "rm -f %{lib}%/META.llvm*"]
26]
27depends: [
28 "ocaml" {>= "4.00.0"}
29 "ctypes" {>= "0.4"}
30 "ounit" {with-test}
31 "ocamlfind" {build}
32 "conf-llvm" {build & = "3.9"}
33 "conf-python-2-7" {build}
34 "conf-cmake" {build}
35]
36conflicts: [
37 "base-nnp"
38 "ocaml-option-nnpchecker"
39]
40synopsis: "The OCaml bindings distributed with LLVM"
41description: "Note: LLVM should be installed first."
42url {
43 src: "http://llvm.org/releases/3.9.0/llvm-3.9.0.src.tar.xz"
44 checksum: [
45 "sha256=66c73179da42cee1386371641241f79ded250e117a79f571bbd69e56daa48948"
46 "md5=f2093e98060532449eb7d2fcfd0bc6c6"
47 ]
48}
49extra-source "link.patch" {
50 src:
51 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/link.patch.3.9"
52 checksum: [
53 "sha256=d2d80b2d5a5f0b4db5bb64ea8df37bf8c421de5233e2be538f930fece8e3de34"
54 "md5=e1e340d8961639259b05f89f2c051e06"
55 ]
56}
57extra-source "cmake.patch" {
58 src:
59 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/cmake.patch"
60 checksum: [
61 "sha256=954dd11404693aefbee167b44df8c5d84590807effbc56aa66baefb713f7d2f0"
62 "md5=010f659aec2d89ac723257f7d20d7962"
63 ]
64}
65extra-source "build.sh" {
66 src:
67 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/build.sh"
68 checksum: [
69 "sha256=28485bcfc5149a2f8cc56b716446e56e5400270df1e2edeaecd092a94d3f632c"
70 "md5=bc1b4d27f450d560e2ea0414fbae199a"
71 ]
72}
73extra-source "D24354.diff" {
74 src:
75 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/D24354.diff"
76 checksum: [
77 "sha256=450ee68c5ed427303d9613c9f190926cb5ac4440ca1d7fac95e76886bc2cf6d3"
78 "md5=18a543093b274fdf57462c0b458f1b97"
79 ]
80}