From 325a1c4b96dc1d4ec071a82192848d756aa1b2b9 Mon Sep 17 00:00:00 2001 From: Daniel Martinez Date: Wed, 7 Feb 2024 18:38:50 -0500 Subject: [PATCH] llvm: update to 17. --- srcpkgs/clang | 2 +- srcpkgs/clang-analyzer | 2 +- srcpkgs/clang-tools-extra | 2 +- srcpkgs/libclang | 2 +- srcpkgs/libclang-cpp | 2 +- srcpkgs/libllvm | 1 + srcpkgs/lld | 2 +- srcpkgs/lldb | 2 +- srcpkgs/llvm/template | 54 ++++++++++++++++++++++++++++++++++++--- 9 files changed, 59 insertions(+), 10 deletions(-) create mode 120000 srcpkgs/libllvm diff --git a/srcpkgs/clang b/srcpkgs/clang index ad57a969b9f..0d68131b9b3 120000 --- a/srcpkgs/clang +++ b/srcpkgs/clang @@ -1 +1 @@ -llvm15 \ No newline at end of file +llvm \ No newline at end of file diff --git a/srcpkgs/clang-analyzer b/srcpkgs/clang-analyzer index ad57a969b9f..0d68131b9b3 120000 --- a/srcpkgs/clang-analyzer +++ b/srcpkgs/clang-analyzer @@ -1 +1 @@ -llvm15 \ No newline at end of file +llvm \ No newline at end of file diff --git a/srcpkgs/clang-tools-extra b/srcpkgs/clang-tools-extra index ad57a969b9f..0d68131b9b3 120000 --- a/srcpkgs/clang-tools-extra +++ b/srcpkgs/clang-tools-extra @@ -1 +1 @@ -llvm15 \ No newline at end of file +llvm \ No newline at end of file diff --git a/srcpkgs/libclang b/srcpkgs/libclang index ad57a969b9f..0d68131b9b3 120000 --- a/srcpkgs/libclang +++ b/srcpkgs/libclang @@ -1 +1 @@ -llvm15 \ No newline at end of file +llvm \ No newline at end of file diff --git a/srcpkgs/libclang-cpp b/srcpkgs/libclang-cpp index ad57a969b9f..0d68131b9b3 120000 --- a/srcpkgs/libclang-cpp +++ b/srcpkgs/libclang-cpp @@ -1 +1 @@ -llvm15 \ No newline at end of file +llvm \ No newline at end of file diff --git a/srcpkgs/libllvm b/srcpkgs/libllvm new file mode 120000 index 00000000000..0d68131b9b3 --- /dev/null +++ b/srcpkgs/libllvm @@ -0,0 +1 @@ +llvm \ No newline at end of file diff --git a/srcpkgs/lld b/srcpkgs/lld index ad57a969b9f..0d68131b9b3 120000 --- a/srcpkgs/lld +++ b/srcpkgs/lld @@ -1 +1 @@ -llvm15 \ No newline at end of file +llvm \ No newline at end of file diff --git a/srcpkgs/lldb b/srcpkgs/lldb index ad57a969b9f..0d68131b9b3 120000 --- a/srcpkgs/lldb +++ b/srcpkgs/lldb @@ -1 +1 @@ -llvm15 \ No newline at end of file +llvm \ No newline at end of file diff --git a/srcpkgs/llvm/template b/srcpkgs/llvm/template index fc1c850bd26..b90adfdd093 100644 --- a/srcpkgs/llvm/template +++ b/srcpkgs/llvm/template @@ -1,11 +1,59 @@ # Template file for 'llvm' pkgname=llvm -version=15 +version=17 revision=1 build_style=meta -depends="llvm15" +depends="llvm${version}" short_desc="LLVM meta package" maintainer="Enno Boland " license="Public Domain" homepage="https://www.voidlinux.org" -replaces="llvm12>=0 llvm11>=0 llvm10>=0 llvm9>=0 llvm8>=0 llvm7>=0 llvm6.0>=0 llvm3.9>=0" +replaces="llvm15>=0 llvm12>=0 llvm11>=0 llvm10>=0 llvm9>=0 llvm8>=0 llvm7>=0 llvm6.0>=0 llvm3.9>=0" + +clang_package() { + build_style=meta + depends="clang${version}>=0" + short_desc+=" - clang" +} + +clang-tools-extra_package() { + build_style=meta + depends="clang-tools-extra${version}>=0" + short_desc+=" - clang-tools-extra" +} + +clang-analyzer_package() { + build_style=meta + depends="clang-tools-extra${version}>=0" + short_desc+=" - clang-tools-extra" +} + +lld_package() { + build_style=meta + depends="lld${version}>=0" + short_desc+=" - lld" +} + +lldb_package() { + build_style=meta + depends="lldb${version}>=0" + short_desc+=" - lldb" +} + +libclang_package() { + build_style=meta + depends="libclang${version}>=0" + short_desc+=" - transitional meta package" +} + +libclang-cpp_package() { + build_style=meta + depends="libclang-cpp${version}>=0" + short_desc+=" - transitional meta package" +} + +libllvm_package() { + build_style=meta + depends="libllvm${version}>=0" + short_desc+=" - transitional meta package" +}