Skip to content

Commit 1785acd

Browse files
committed
llvm22: update to 22.1.3.
1 parent 22990e5 commit 1785acd

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

srcpkgs/llvm22/template

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Template file for 'llvm22'
22
pkgname=llvm22
3-
version=22.1.2
3+
version=22.1.3
44
revision=1
55
build_wrksrc=llvm
66
build_style=cmake
@@ -47,6 +47,7 @@ configure_args="
4747
-DLLVM_ENABLE_PER_TARGET_RUNTIME_DIR=NO
4848
-DLLVM_SPIRV=/usr/bin/llvm-spirv
4949
-DZLIB_ROOT=${XBPS_CROSS_BASE}/usr
50+
-DLLVM_USE_LINKER=lld
5051
"
5152
hostmakedepends="perl python3 zlib-devel libffi-devel swig python3-Sphinx
5253
python3-sphinx-automodapi python3-sphinx-markdown-tables python3-yaml pkg-config
@@ -59,15 +60,15 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
5960
license="Apache-2.0 AND NCSA AND custom:Apache-2.0-with-llvm-exception"
6061
homepage="https://www.llvm.org"
6162
distfiles="https://github.com/llvm/llvm-project/archive/refs/tags/llvmorg-${version/rc/-rc}.tar.gz"
62-
checksum=a252efd7a4a268d2cc5145b17adcaa82757fdee1d06d748b4c24137807710ecb
63+
checksum=7e144bd6da8177757434cc0dfd1476122f143413df379c6d6cf03843512b5a9e
6364
conflicts="llvm18>=0 llvm17>=0 llvm15>=0"
6465
lib32disabled=yes
6566
python_version=3
6667

6768
nocross="let the native builders build first"
6869

6970
if [ "$CROSS_BUILD" ]; then
70-
hostmakedepends+=" llvm${_major}-cross-tools SPIRV-LLVM-Translator${_major} clang${_major}"
71+
hostmakedepends+=" llvm${_major}-cross-tools SPIRV-LLVM-Translator${_major} clang${_major} lld${_major}"
7172
else
7273
hostmakedepends+=" llvm${_major}-bootstrap"
7374
# OCaml cross build is broken
@@ -182,8 +183,6 @@ if [ "$CROSS_BUILD" ]; then
182183
-DCMAKE_Fortran_COMPILER=/${_llvm_bindir}/flang"
183184
fi
184185
else
185-
# Needs lld on the target machine
186-
configure_args+=" -DLLVM_USE_LINKER=lld"
187186
subpackages+=" llvm${_major}-cross-tools"
188187
fi
189188

0 commit comments

Comments
 (0)