Skip to content

Commit 0b62dc9

Browse files
authored
conf-clang: update alpine depext (#28290)
* conf-clang: update alpine depext Seen on #28262 Signed-off-by: Marcello Seri <[email protected]> * Update packages/conf-clang/conf-clang.2/opam * Fix os-version * Fix syntax * Update packages/conf-clang/conf-clang.2/opam --------- Signed-off-by: Marcello Seri <[email protected]>
1 parent daa5ffc commit 0b62dc9

File tree

1 file changed

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

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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: [
8+
"clang"
9+
"--version"
10+
]
11+
depexts: [
12+
["clang"] {os-family = "debian"}
13+
["clang"] {os-family = "ubuntu"}
14+
["clang"] {os-family = "fedora"}
15+
["clang"] {os-distribution = "rhel"}
16+
["clang"] {os-distribution = "centos"}
17+
["clang"] {os-distribution = "alpine" & os-version <= "3.18"}
18+
["clang17"] {os-distribution = "alpine" & os-version >= "3.19" & os-version < "3.21"}
19+
["clang19"] {os-distribution = "alpine" & os-version >= "3.21" & os-version < "3.22"}
20+
["clang20"] {os-distribution = "alpine" & os-version >= "3.22"}
21+
["clang"] {os-family = "suse" | os-family = "opensuse"}
22+
["clang"] {os-distribution = "ol"}
23+
["clang"] {os-distribution = "arch"}
24+
# on FreeBSD clang is already part of the base system in contrib/llvm-project/clang
25+
["clang"] {os = "win32"}
26+
]
27+
synopsis: "Virtual package relying on clang"
28+
description:
29+
"This package can only install if the clang binary is installed on the system."
30+
flags: conf

0 commit comments

Comments
 (0)