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

clang: package clang-tblgen.exe #2297

Merged
merged 1 commit into from
Jan 3, 2021
Merged
Changes from all 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
8 changes: 5 additions & 3 deletions clang/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ else
fi

_realname=clang
pkgbase=mingw-w64-${_realname}
pkgbase=${_realname}
pkgname=("${_realname}" "lld" "llvm")
pkgver=11.0.0
pkgrel=1
pkgrel=2
pkgdesc="C language family frontend for LLVM"
arch=('i686' 'x86_64')
url="https://llvm.org/"
Expand Down Expand Up @@ -120,7 +120,7 @@ prepare() {
"0305-Msysize.patch"

cd "${srcdir}"
rm -rf clang lldb | true
rm -rf clang lld | true
mv "${srcdir}/clang-${pkgver}.src" clang
mv "${srcdir}/lld-${pkgver}.src" lld
}
Expand Down Expand Up @@ -183,6 +183,8 @@ package_clang() {
# Install static libraries
install -Dm644 ../build-${CARCH}/lib/libclang.a ${pkgdir}/usr/lib/libclang.a
install -Dm644 ../build-${CARCH}/lib/libclang.a ${pkgdir}/usr/lib/libclang_static.a
# clang-tblgen is needed to cross-compile clang.
install -Dm755 "${srcdir}"/build-${CARCH}/bin/clang-tblgen.exe "${pkgdir}/usr/bin/clang-tblgen.exe"
}

package_lld() {
Expand Down