testing/llvm21: fix so: provider

This commit is contained in:
fossdd 2025-07-21 08:38:17 +02:00 committed by achill (fossdd)
parent eec9e28336
commit f151efff00

View File

@ -8,14 +8,14 @@
maintainer="fossdd <fossdd@pwned.life>"
_pkgname=llvm
pkgver=21.1.0_rc1
_sover=21.1-rc1
_sover2=21-rc1
_sover=21.1_rc1
_sover2=21_rc1
_pkgver=${pkgver/_/-}
#_majorver=${pkgver%%.*}
_majorver=21
_prevmajorver=$((_majorver - 1))
pkgname=$_pkgname$_majorver
pkgrel=0
pkgrel=1
pkgdesc="Low Level Virtual Machine compiler system, version $_majorver"
arch="all"
url="https://llvm.org/"
@ -162,7 +162,8 @@ build() {
-DLLVM_LINK_LLVM_DYLIB=ON \
-DLLVM_USE_PERF=ON \
$_llvm_targets \
$_cmake_cross_options
$_cmake_cross_options \
-DLLVM_VERSION_SUFFIX="_${pkgver#*_}"
cmake --build build