this repo has no description
1opam-version: "2.0"
2maintainer: "Ivan Gotovchits <ivg@ieee.org>"
3homepage: "http://llvm.org"
4authors: "The LLVM Team"
5bug-reports: "https://llvm.org/bugs/"
6license: "BSD-3-Clause"
7build: [
8 ["ocaml" "find-llvm.ml"]
9]
10depends: [
11 "ocaml"
12 "base-unix"
13 "conf-which" {build}
14]
15depexts: [
16
17 # debian
18 ["llvm-4.0-dev"] {os-family = "debian" & os-distribution != "ubuntu"}
19
20 # ubuntu
21 ["llvm-3.8-dev"] {os-distribution = "ubuntu" & os-version = "14.04"} #trusty
22 ["llvm-4.0-dev"] {os-distribution = "ubuntu" & os-version = "16.04"} #xenial
23 ["llvm-4.0-dev"] {os-distribution = "ubuntu" & os-version = "18.04"} #bionic
24
25 # macos
26 ["llvm-4.0"] {os = "macos" & os-distribution = "macports"}
27 ["llvm@4"] {os = "macos" & os-distribution = "homebrew"}
28]
29
30substs: [ "find-llvm.ml" ]
31flags: [ conf ]
32
33synopsis: "Checks that supported version of LLVM is installed"
34description: """
35Supported LLVM versions are: 3.4 3.8 4.0
36
37A preferred llvm-config can be choosen by setting opam config variable:
38$: opam config set llvm-config your-llvm-config
39OR by setting LLVM_CONFIG environment variable.
40"""
41extra-source "find-llvm.ml.in" {
42 src:
43 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-bap-llvm/find-llvm.ml.in.1.1"
44 checksum: [
45 "sha256=d7ff14e24fee0958a5d0d9148180547e19b3dda3503f1db83a46a6634ba16010"
46 "md5=ca3bdee7ae81ccc551160dbba0593d0c"
47 ]
48}