this repo has no description
1opam-version: "2.0"
2maintainer: "Alan <ahulambda@gmail.com>"
3authors: [
4 "whitequark <whitequark@whitequark.org>"
5 "The LLVM team"
6]
7license: "MIT"
8bug-reports: "http://llvm.org/bugs/"
9dev-repo: "git+http://llvm.org/git/llvm.git"
10doc: "http://llvm.org"
11homepage: "http://llvm.org"
12build: [
13 ["bash" "-ex" "install.sh" "build"
14 "--llvm-config" "%{conf-llvm-shared:config}%"
15 "--libdir" lib
16 "--cmake" "%{conf-cmake:cmd}%"
17 "--make" make
18 "--link-mode" "shared"
19 "--use-homebrew" {os-distribution = "homebrew"}
20 ]
21]
22install: [
23 ["bash" "-ex" "install.sh" "install"
24 "--llvm-config" "%{conf-llvm-shared:config}%"
25 "--libdir" lib
26 "--cmake" "%{conf-cmake:cmd}%"
27 "--make" make
28 "--link-mode" "shared"
29 "--use-homebrew" {os-distribution = "homebrew"}
30 ]
31]
32depends: [
33 "ocaml" {>= "4.00.0"}
34 "ctypes" {>= "0.4"}
35 "ocamlfind" {build}
36 "conf-llvm-shared" {build & = "18"}
37 "conf-cmake" {build}
38]
39patches: [
40 "AddOCaml.cmake.patch"
41]
42synopsis: "The OCaml bindings distributed with LLVM"
43description: "Note: LLVM should be installed first."
44url {
45 src: "https://github.com/llvm/llvm-project/releases/download/llvmorg-18.1.8/llvm-project-18.1.8.src.tar.xz"
46 checksum: [
47 "sha256=0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a"
48 "md5=81cd0be5ae6f1ad8961746116d426a96"
49 ]
50}
51extra-source "install.sh" {
52 src:
53 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/install.sh.18"
54 checksum: [
55 "sha256=c1f95d0c7ae539fcbe97327c4ed64e7a86009143c34f7e721319407975965bae"
56 "md5=6e458426d1008d4696662cf7d3432d8b"
57 ]
58}
59extra-source "AddOCaml.cmake.patch" {
60 src:
61 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/llvm/AddOCaml.cmake.patch.18"
62 checksum: [
63 "sha256=a532adaa6938818fbd7f5a49d4de21c0a2d240ecb91636a76b2f745b4b8cb58f"
64 "md5=432ec376b6ffbac44e640c8fb659a7df"
65 ]
66}