Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[package update] Autogenerated conf-libclang packages for LLVM upto 18.0 #25889

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 37 additions & 13 deletions packages/conf-libclang/conf-libclang.10/opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,59 @@ opam-version: "2.0"
maintainer: "Thierry Martinez <[email protected]>"
authors: "The LLVM team"
homepage: "http://llvm.org"
bug-reports: "https://llvm.org/bugs/"
bug-reports: "https://github.com/thierry-martinez/conf-libclang"
license: "MIT"
build-env: [
[HOMEBREW_NO_AUTO_UPDATE = "1"]
]
build: [
["bash" "-ex" "configure.sh" version]
["ocamlfind" "ocamlopt" "-package" "unix,stdcompat" "-linkpkg" "-o" "configure" "utils.ml" "configure.ml"]
["./configure" "10"]
]
depends: [
"conf-bash" {build}
"ocamlfind" {build}
"stdcompat" {build & >= "19"}
]
depexts: [
["llvm"] {os-distribution = "homebrew" & os = "macos"}
["llvm"] {os-distribution = "macports" & os = "macos"}
["libclang-dev" "llvm-dev"] {os-family = "debian"}
["llvm10" "clang10"] {os-distribution = "arch"}
["libclang-10-dev" "libclang-cpp10-dev" "llvm-10-dev"]
{os-distribution = "ubuntu" & os-version >= "20.04"}
["libclang-7-dev" "llvm-7-dev"] { os-distribution = "debian" & os-version = "10" }
["clang-devel-10.0.1" "llvm-devel-10.0.1" "llvm-static-10.0.1" "zlib-devel"]
{os-distribution = "ol" & os-version >= 8 & os-version < 9}
["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
x-ci-accept-failures: [
"oraclelinux-7" # clang-devel is not available
"alpine-3.13" # unavailable system package 'llvm-dev'
"alpine-3.14" # unavailable system package 'llvm-dev'
"alpine-3.15" # unavailable system package 'llvm-dev'
"alpine-3.16" # unavailable system package 'llvm-dev'
"opensuse-15.3" # unavailable system package 'llvm-clang-devel'
"freebsd" # no devel/llvm10
"macos-homebrew" # llvm@n is not available
"ubuntu-22.04" "ubuntu-22.10" "ubuntu-23.04" "ubuntu-23.10" "ubuntu-24.04" # libclang-n-dev is not available
"debian-11" # libclang-n-dev is not available
"debian-12" "debian-unstable" # libclang-n-dev is not available
"debian-13" "debian-testing" # libclang-n-dev is not available
"fedora-38" "fedora-39" "fedora-40" # clang-devel is not available
"oraclelinux-9" # clang-devel is not available
]
extra-source "configure.sh" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
extra-source "configure.sh" {
extra-source "configure.ml" {

src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-libclang/configure.sh.10"
"https://raw.githubusercontent.com/thierry-martinez/conf-libclang/opam.2024-05-29/configure.ml"
checksum:
"sha512=094741c35cb509803bf76307335b86ebb11a01563b3d3cb1a88091856381a553eadbd5dffa272a1fe9ad9c62eefc45cce97d598e575e877f0d5fe1c164b30b91"
}
extra-source "utils.ml" {
src:
"https://raw.githubusercontent.com/thierry-martinez/conf-libclang/opam.2024-05-29/utils.ml"
checksum:
"sha512=8c95b2f06ce5bc161fd68ff8f8ddc0b9b7ea1a318732b79e4131d0adf9222662dd95a60becf28ef5db83fecf1081266a6ccf128864c019571948a232ba18fe82"
"sha512=7c6fc56abc8ee9b85b787aaee8b28b54087c4af748b15c3c03de5dbcd253ade2e52930e0b180b883364c7302de000b2f37f9171b687868c7c52b77ced1cb00eb"
}
synopsis: "Virtual package relying on the installation of llvm and clang libraries (<= 10.0.x)"
flags: conf
52 changes: 39 additions & 13 deletions packages/conf-libclang/conf-libclang.11/opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,61 @@ opam-version: "2.0"
maintainer: "Thierry Martinez <[email protected]>"
authors: "The LLVM team"
homepage: "http://llvm.org"
bug-reports: "https://llvm.org/bugs/"
bug-reports: "https://github.com/thierry-martinez/conf-libclang"
license: "MIT"
build-env: [
[HOMEBREW_NO_AUTO_UPDATE = "1"]
]
build: [
["bash" "-ex" "configure.sh" version]
["ocamlfind" "ocamlopt" "-package" "unix,stdcompat" "-linkpkg" "-o" "configure" "utils.ml" "configure.ml"]
["./configure" "11"]
]
depends: [
"conf-bash" {build}
"ocamlfind" {build}
"stdcompat" {build & >= "19"}
]
depexts: [
["llvm"] {os-distribution = "homebrew" & os = "macos"}
["llvm"] {os-distribution = "macports" & os = "macos"}
["libclang-dev" "llvm-dev"] {os-family = "debian"}
["llvm11" "clang11"] {os-distribution = "arch"}
["libclang-11-dev" "libclang-cpp11-dev" "llvm-11-dev"]
{os-distribution = "ubuntu" & os-version >= "20.04"}
["libclang-11-dev" "libclang-cpp11-dev" "llvm-11-dev"] { os-distribution = "debian" & os-version = "11" }
["libclang-11-dev" "libclang-cpp11-dev" "llvm-11-dev"] { os-distribution = "debian" & os-version = "10" }
["clang-devel-11.0.1" "llvm-devel-11.0.1" "llvm-static-11.0.1" "zlib-devel"]
{os-distribution = "ol" & os-version >= 8 & os-version < 9}
["clang11-devel" "llvm11-devel" "llvm11-static" "zlib-devel" "redhat-rpm-config"]
{os-distribution = "fedora"}
["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/llvm11"] {os = "freebsd"}
["sys-devel/clang"] {os-distribution = "gentoo"}
["devel/llvm11"] {os = "freebsd"}
]
x-ci-accept-failures: [
"oraclelinux-7" # clang-devel is not available
"alpine-3.13" # unavailable system package 'llvm-dev'
"alpine-3.14" # unavailable system package 'llvm-dev'
"alpine-3.15" # unavailable system package 'llvm-dev'
"alpine-3.16" # unavailable system package 'llvm-dev'
"opensuse-15.3" # unavailable system package 'llvm-clang-devel'
"macos-homebrew" # llvm@n is not available
"ubuntu-22.04" "ubuntu-22.10" "ubuntu-23.04" "ubuntu-23.10" "ubuntu-24.04" # libclang-n-dev is not available
"debian-12" "debian-unstable" # libclang-n-dev is not available
"debian-13" "debian-testing" # libclang-n-dev is not available
"fedora-40" # clang-devel is not available
"oraclelinux-9" # clang-devel is not available
]
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.11"
"https://raw.githubusercontent.com/thierry-martinez/conf-libclang/opam.2024-05-29/configure.ml"
checksum:
"sha512=f935e0447465cce82dd90c01925400b724fe1e6760768eb4eb3b7b9a27109d214d0b040855f963292c79116cd4939840f0e321e32622cac4afdfec8b6a7d40ec"
"sha512=094741c35cb509803bf76307335b86ebb11a01563b3d3cb1a88091856381a553eadbd5dffa272a1fe9ad9c62eefc45cce97d598e575e877f0d5fe1c164b30b91"
}
extra-source "utils.ml" {
src:
"https://raw.githubusercontent.com/thierry-martinez/conf-libclang/opam.2024-05-29/utils.ml"
checksum:
"sha512=7c6fc56abc8ee9b85b787aaee8b28b54087c4af748b15c3c03de5dbcd253ade2e52930e0b180b883364c7302de000b2f37f9171b687868c7c52b77ced1cb00eb"
}
synopsis: "Virtual package relying on the installation of llvm and clang libraries (<= 11.0.x)"
flags: conf
50 changes: 35 additions & 15 deletions packages/conf-libclang/conf-libclang.12/opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,63 @@ opam-version: "2.0"
maintainer: "Thierry Martinez <[email protected]>"
authors: "The LLVM team"
homepage: "http://llvm.org"
bug-reports: "https://llvm.org/bugs/"
bug-reports: "https://github.com/thierry-martinez/conf-libclang"
license: "MIT"
build-env: [
[HOMEBREW_NO_AUTO_UPDATE = "1"]
]
build: [
["bash" "-ex" "configure.sh" version]
["ocamlfind" "ocamlopt" "-package" "unix,stdcompat" "-linkpkg" "-o" "configure" "utils.ml" "configure.ml"]
["./configure" "12"]
]
depends: [
"conf-bash" {build}
"ocamlfind" {build}
"stdcompat" {build & >= "19"}
]
depexts: [
["llvm@12"] {os = "macos"} # Brew already has a package for llvm@13
["llvm" "clang"] {os-distribution = "arch"}
["libclang-dev" "llvm-dev"] {os-family = "debian"}
["llvm@12"] {os = "macos"}
["llvm12" "clang12"] {os-distribution = "arch"}
["libclang-12-dev" "libclang-cpp12-dev" "llvm-12-dev"]
{os-distribution = "ubuntu" & os-version >= "20.10"}
["libclang-12-dev" "libclang-cpp12-dev" "llvm-12-dev"]
{os-distribution = "ubuntu" & os-version >= "20.04"}
["libclang-11-dev" "libclang-cpp11-dev" "llvm-11-dev"] { os-distribution = "debian" & os-version = "11" }
["libclang-11-dev" "libclang-cpp11-dev" "llvm-11-dev"] { os-distribution = "debian" & os-version = "10" }
["clang-devel-12.0.1" "llvm-devel-12.0.1" "llvm-static-12.0.1" "zlib-devel"]
{os-distribution = "ol" & os-version >= 8 & os-version < 9}
["clang12-devel" "llvm12-devel" "llvm12-static" "zlib-devel" "redhat-rpm-config"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
["clang12-devel" "llvm12-devel" "llvm12-static" "zlib-devel" "redhat-rpm-config"]
["clang11-devel" "llvm11-devel" "llvm11-static" "zlib-devel" "redhat-rpm-config"]

Maybe that could be sufficient to fix fedora 39?

{os-distribution = "fedora"}
["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"}
["clang-devel" "llvm-devel" "llvm-static" "zlib-devel"]
{os-distribution = "ol" & os-version >= "8"}
["llvm-clang-devel"] {os-family = "suse" | os-family = "opensuse"}
["devel/llvm12"] {os = "freebsd"}
["sys-devel/clang"] {os-distribution = "gentoo"}
["devel/llvm12"] {os = "freebsd"}
]
x-ci-accept-failures: [
"oraclelinux-7" # clang-devel is not available
"alpine-3.13" # unavailable system package 'llvm-dev'
"alpine-3.14" # unavailable system package 'llvm-dev'
"alpine-3.15" # unavailable system package 'llvm-dev'
"alpine-3.16" # unavailable system package 'llvm-dev'
"opensuse-15.3" # unavailable system package 'llvm-clang-devel'
"ubuntu-22.04" "ubuntu-22.10" "ubuntu-23.04" "ubuntu-23.10" "ubuntu-24.04" # libclang-n-dev is not available
"debian-12" "debian-unstable" # libclang-n-dev is not available
"debian-13" "debian-testing" # libclang-n-dev is not available
"fedora-39" "fedora-40" # clang-devel is not available
"oraclelinux-9" # clang-devel is not available
]
synopsis: "Virtual package relying on the installation of llvm and clang libraries (<= 12.0.x)"
flags: conf
extra-source "configure.sh" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-libclang/configure.sh.12"
"https://raw.githubusercontent.com/thierry-martinez/conf-libclang/opam.2024-05-29/configure.ml"
checksum:
"sha512=094741c35cb509803bf76307335b86ebb11a01563b3d3cb1a88091856381a553eadbd5dffa272a1fe9ad9c62eefc45cce97d598e575e877f0d5fe1c164b30b91"
}
extra-source "utils.ml" {
src:
"https://raw.githubusercontent.com/thierry-martinez/conf-libclang/opam.2024-05-29/utils.ml"
checksum:
"sha512=db02fc6eee598041fd019679337eab74dc4180f6e94cfe6099a0b76ca2b10f9695079696ff4ee1b41692db46601211335fda83481dadb33ee65895a3a1369bdd"
"sha512=7c6fc56abc8ee9b85b787aaee8b28b54087c4af748b15c3c03de5dbcd253ade2e52930e0b180b883364c7302de000b2f37f9171b687868c7c52b77ced1cb00eb"
}
synopsis: "Virtual package relying on the installation of llvm and clang libraries (<= 12.0.x)"
flags: conf
58 changes: 34 additions & 24 deletions packages/conf-libclang/conf-libclang.13/opam
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,65 @@ opam-version: "2.0"
maintainer: "Thierry Martinez <[email protected]>"
authors: "The LLVM team"
homepage: "http://llvm.org"
bug-reports: "https://llvm.org/bugs/"
bug-reports: "https://github.com/thierry-martinez/conf-libclang"
license: "MIT"
build-env: [
[HOMEBREW_NO_AUTO_UPDATE = "1"]
]
build: [
["bash" "-ex" "configure.sh" version]
["ocamlfind" "ocamlopt" "-package" "unix,stdcompat" "-linkpkg" "-o" "configure" "utils.ml" "configure.ml"]
["./configure" "13"]
]
depends: [
"conf-bash" {build}
"ocamlfind" {build}
"stdcompat" {build & >= "19"}
]
depexts: [
["llvm@13"] {os = "macos"}
["llvm13" "clang13"] {os-distribution = "arch"}
["libclang-13-dev" "libclang-cpp13-dev" "llvm-13-dev"]
{(os-distribution = "debian" & os-version >= "12") |
(os-distribution = "ubuntu" & os-version >= "22.04")}
["libclang-dev" "libclang-cpp-dev" "llvm-dev"] {
os-distribution = "debian" & os-version >= "11"}
["libclang-dev" "llvm-dev"] {
os-family = "debian" &
!(os-distribution = "debian" & os-version >= "11") &
!(os-distribution = "ubuntu" & os-version >= "22.04")}
{os-distribution = "ubuntu" & os-version >= "21.10"}
["libclang-13-dev" "libclang-cpp13-dev" "llvm-13-dev"]
{os-distribution = "ubuntu" & os-version >= "21.04"}
["libclang-12-dev" "libclang-cpp12-dev" "llvm-12-dev"]
{os-distribution = "ubuntu" & os-version = "20.10"}
["libclang-12-dev" "libclang-cpp12-dev" "llvm-12-dev"]
{os-distribution = "ubuntu" & os-version = "20.04"}
["libclang-13-dev" "libclang-cpp13-dev" "llvm-13-dev"] { os-distribution = "debian" & os-version = "11" }
["libclang-13-dev" "libclang-cpp13-dev" "llvm-13-dev"] { os-distribution = "debian" & os-version = "10" }
["clang-devel-13.0.1" "llvm-devel-13.0.1" "llvm-static-13.0.1" "zlib-devel"]
{os-distribution = "ol" & os-version >= 8}
["clang13-devel" "llvm13-devel" "llvm13-static" "zlib-devel" "redhat-rpm-config"]
{os-distribution = "fedora"}
["clang-dev" "llvm-dev" "clang-static"] {os-distribution = "alpine"}
["clang-devel" "llvm-devel" "llvm-static" "zlib-devel"]
{os-distribution = "centos"}
["clang13-devel" "llvm13-devel" "zlib-devel" "redhat-rpm-config"]
{os-distribution = "fedora" & os-version >= "36"}
["clang-devel" "llvm-devel" "zlib-devel" "redhat-rpm-config"]
{os-distribution = "fedora" & os-version < "36"}
["clang-devel" "llvm-devel" "llvm-static" "zlib-devel"]
{os-distribution = "ol" & os-version >= "8"}
["llvm-clang-devel"] {os-family = "suse" | os-family = "opensuse"}
["devel/llvm13"] {os = "freebsd"}
["sys-devel/clang"] {os-distribution = "gentoo"}
["devel/llvm13"] {os = "freebsd"}
]
x-ci-accept-failures: [
"archlinux" # clang13 does not package libclang.so
"oraclelinux-7" # clang-devel is not available
"oraclelinux-8" # clang-devel version is not correct
"alpine-3.13" # unavailable system package 'llvm-dev'
"alpine-3.14" # unavailable system package 'llvm-dev'
"alpine-3.15" # unavailable system package 'llvm-dev'
"alpine-3.16" # unavailable system package 'llvm-dev'
"opensuse-15.3" # unavailable system package 'llvm-clang-devel'
"ubuntu-22.04" "ubuntu-22.10" "ubuntu-23.04" "ubuntu-23.10" "ubuntu-24.04" # libclang-n-dev is not available
"debian-12" "debian-unstable" # libclang-n-dev is not available
"debian-13" "debian-testing" # libclang-n-dev is not available
]
synopsis: "Virtual package relying on the installation of llvm and clang libraries (<= 13.0.x)"
flags: conf
extra-source "configure.sh" {
src:
"https://raw.githubusercontent.com/ocaml/opam-source-archives/main/patches/conf-libclang/configure.sh.13"
"https://raw.githubusercontent.com/thierry-martinez/conf-libclang/opam.2024-05-29/configure.ml"
checksum:
"sha512=94c9d19667bda6ab913e5ad62ff6559d6e0a5cf95e4403065619ed299ac522679bf1f4c9d03c27bb57c7736e9c6edebf0a796edc33bd46816a665209903e2710"
"sha512=094741c35cb509803bf76307335b86ebb11a01563b3d3cb1a88091856381a553eadbd5dffa272a1fe9ad9c62eefc45cce97d598e575e877f0d5fe1c164b30b91"
}
extra-source "utils.ml" {
src:
"https://raw.githubusercontent.com/thierry-martinez/conf-libclang/opam.2024-05-29/utils.ml"
checksum:
"sha512=7c6fc56abc8ee9b85b787aaee8b28b54087c4af748b15c3c03de5dbcd253ade2e52930e0b180b883364c7302de000b2f37f9171b687868c7c52b77ced1cb00eb"
}
synopsis: "Virtual package relying on the installation of llvm and clang libraries (<= 13.0.x)"
flags: conf
Loading