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-6.0-dev"] {os-distribution = "ubuntu" & os-version = "16.04"} #xenial
23 ["llvm-6.0-dev"] {os-distribution = "ubuntu" & os-version = "18.04"} #bionic
24
25 # fedora
26 ["llvm-devel" "llvm-static"] {os-distribution = "fedora"}
27
28 # macos
29 ["llvm-6.0"] {os = "macos" & os-distribution = "macports"}
30 ["llvm@6"] {os = "macos" & os-distribution = "homebrew"}
31]
32
33substs: [ "find-llvm.ml" ]
34flags: [ conf ]
35
36synopsis: "Checks that supported version of LLVM is installed"
37description: """
38Supported LLVM versions are: 3.4 3.8 4.0 5.0 6.0 7.0
39
40A preferred llvm-config can be choosen by setting opam config variable:
41$: opam config set llvm-config your-llvm-config
42OR by setting LLVM_CONFIG environment variable.
43"""
44extra-source "find-llvm.ml.in" {
45 src:
46 "https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-bap-llvm/find-llvm.ml.in.1.3"
47 checksum: [
48 "sha256=e68e4051edb688e825856e8c3af4154620eb3f1e776689ae17e301db3ceb09fa"
49 "md5=5b1f52ec64ce3377ec652eec6175076d"
50 ]
51}