-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
33 lines (33 loc) · 1.27 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
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]
]
depexts: [
["llvm@8"] {os-distribution = "homebrew" & os = "macos"}
["llvm@8"] {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/clang" "devel/llvm"] {os = "freebsd"}
["sys-devel/clang"] {os-distribution = "gentoo"}
]
synopsis: "Virtual package relying on the installation of llvm and clang libraries (version <10)"
flags: conf
extra-source "configure.sh" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-libclang/configure.sh.1.0.0"
checksum:
"sha512=5ab8e6adac378413740efc3fb02eee8409a643f64bff32a3fb2e50853132fee2ed6a32bb46ce86fe79c5e416a90d14858635e08d5e6f3a7d1924ae98009bb217"
}