-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
36 lines (36 loc) · 1.29 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
opam-version: "2.0"
maintainer: "Thierry Martinez <martinez@nsup.org>"
authors: "The LLVM team"
homepage: "http://llvm.org"
bug-reports: "https://llvm.org/bugs/"
license: "MIT"
build-env: [
[HOMEBREW_NO_AUTO_UPDATE = "1"]
]
build: [
["bash" "-ex" "configure.sh" version]
]
depends: [
"conf-bash" {build}
]
depexts: [
["llvm"] {os-distribution = "homebrew" & os = "macos"}
["llvm"] {os-distribution = "macports" & os = "macos"}
["libclang-dev" "llvm-dev"] {os-family = "debian"}
["clang-dev" "llvm-dev" "clang-static"] {os-distribution = "alpine"}
["clang-devel" "llvm-devel" "llvm-static" "zlib-devel"]
{os-distribution = "centos"}
["clang-devel" "llvm-devel" "zlib-devel" "redhat-rpm-config"]
{os-distribution = "fedora"}
["llvm-clang-devel"] {os-family = "suse" | os-family = "opensuse"}
["devel/llvm10"] {os = "freebsd"}
["sys-devel/clang"] {os-distribution = "gentoo"}
]
synopsis: "Virtual package relying on the installation of llvm and clang libraries (any version)"
flags: conf
extra-source "configure.sh" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-libclang/configure.sh.10"
checksum:
"sha512=8c95b2f06ce5bc161fd68ff8f8ddc0b9b7ea1a318732b79e4131d0adf9222662dd95a60becf28ef5db83fecf1081266a6ccf128864c019571948a232ba18fe82"
}