Skip to content

Commit 32b21d5

Browse files
committed
conf-clang: update alpine depext
Seen on ocaml#28262 Signed-off-by: Marcello Seri <[email protected]>
1 parent 906e75d commit 32b21d5

File tree

1 file changed

+28
-0
lines changed
  • packages/conf-clang/conf-clang.2

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
opam-version: "2.0"
2+
maintainer: "https://github.com/ocaml/opam-repository/issues"
3+
homepage: "https://clang.llvm.org/"
4+
bug-reports: "https://github.com/ocaml/opam-repository/issues"
5+
authors: "The LLVM devs"
6+
license: "University of Illinois/NCSA Open Source License"
7+
build: ["clang" "--version"]
8+
depexts: [
9+
["clang"] {os-family = "debian"}
10+
["clang"] {os-family = "ubuntu"}
11+
["clang"] {os-family = "fedora"}
12+
["clang"] {os-distribution = "rhel"}
13+
["clang"] {os-distribution = "centos"}
14+
["clang"] {os-distribution = "alpine" & os-version <= "3.18" }
15+
["clang17"] {os-distribution = "alpine" & os-version = "3.19" }
16+
["clang17"] {os-distribution = "alpine" & os-version = "3.20" }
17+
["clang19"] {os-distribution = "alpine" & os-version = "3.21" }
18+
["clang20"] {os-distribution = "alpine" & os-version >= "3.22" }
19+
["clang"] {os-family = "suse" | os-family = "opensuse"}
20+
["clang"] {os-distribution = "ol"}
21+
["clang"] {os-distribution = "arch"}
22+
# on FreeBSD clang is already part of the base system in contrib/llvm-project/clang
23+
["clang"] {os = "win32"}
24+
]
25+
synopsis: "Virtual package relying on clang"
26+
description:
27+
"This package can only install if the clang binary is installed on the system."
28+
flags: conf

0 commit comments

Comments
 (0)