Skip to content
Snippets Groups Projects
Commit e6873d2d authored by alice's avatar alice
Browse files

main/llvm15: add llvm-config-$version

parent 66958482
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ _pkgname=llvm
pkgver=15.0.7
_majorver=${pkgver%%.*}
pkgname=$_pkgname$_majorver
pkgrel=7
pkgrel=8
pkgdesc="Low Level Virtual Machine compiler system, version $_majorver"
arch="all"
url="https://llvm.org/"
......@@ -269,6 +269,10 @@ dev() {
ln -sf llvm$_majorver/lib/LLVMgold.so "$pkgdir"/usr/lib/
ln -sf llvm$_majorver/lib/libLTO.so "$pkgdir"/usr/lib/
fi
# also add a suffix-version variant of llvm-config, as that's what things normally check for
mkdir -p "$subpkgdir"/usr/bin/
ln -sfv ../lib/llvm$_llvmver/bin/llvm-config "$subpkgdir"/usr/bin/llvm-config-$_llvmver
}
_test_utils() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment