mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/rust to 1.47.0-4
This commit is contained in:
parent
93fe3cf120
commit
d09e714961
1 changed files with 9 additions and 8 deletions
|
@ -17,16 +17,17 @@ highmem=1
|
|||
pkgname=('rust' 'rust-docs')
|
||||
epoch=1
|
||||
pkgver=1.47.0
|
||||
pkgrel=1
|
||||
pkgrel=4
|
||||
|
||||
_llvm_ver=10.0.1
|
||||
_llvm_ver=11.0.0
|
||||
|
||||
pkgdesc='Systems programming language focused on safety, speed and concurrency'
|
||||
url='https://www.rust-lang.org/'
|
||||
arch=('x86_64')
|
||||
license=('MIT' 'Apache')
|
||||
|
||||
makedepends=('rust' "llvm=$_llvm_ver" 'libffi' 'perl' 'python' 'curl' 'cmake')
|
||||
makedepends=('rust' "llvm=$_llvm_ver" 'libffi' 'perl' 'python'
|
||||
'curl' 'cmake')
|
||||
checkdepends=('procps-ng' 'gdb')
|
||||
|
||||
options=('!emptydirs' '!strip')
|
||||
|
@ -36,7 +37,7 @@ source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
|
|||
|
||||
sha256sums=('3185df064c4747f2c8b9bb8c4468edd58ff4ad6d07880c879ac1b173b768d81d'
|
||||
'SKIP'
|
||||
'd90dc8e121ca0271f0fd3d639d135bfaa4b6ed41e67bd6eb77808f72629658fa'
|
||||
'374aff82ff573a449f9aabbd330a5d0a441181c535a3599996127378112db234'
|
||||
'SKIP')
|
||||
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
|
||||
'474E22316ABF4785A88C6E8EA2C794A986419D8A' # Tom Stellard <tstellar@redhat.com>
|
||||
|
@ -63,8 +64,8 @@ vendor = true
|
|||
prefix = "/usr"
|
||||
|
||||
[rust]
|
||||
# LLVM crashes when passing an object through ThinLTO twice. This is triggered when using rust
|
||||
# code in cross-language LTO if libstd was built using ThinLTO.
|
||||
# LLVM crashes when passing an object through ThinLTO twice. This is triggered
|
||||
# when using rust code in cross-language LTO if libstd was built using ThinLTO.
|
||||
# http://blog.llvm.org/2019/09/closing-gap-cross-language-lto-between.html
|
||||
# https://github.com/rust-lang/rust/issues/54872
|
||||
codegen-units-std = 1
|
||||
|
@ -119,7 +120,7 @@ build() {
|
|||
fi
|
||||
done < <(find "dest-rust/usr/lib/rustlib" -path '*/analysis/*.json' -print0)
|
||||
|
||||
# move docs out of the way for splitting
|
||||
# move docs and cross targets out of the way for splitting
|
||||
mv dest-rust/usr/share/doc dest-doc
|
||||
}
|
||||
|
||||
|
@ -149,7 +150,7 @@ package_rust() {
|
|||
}
|
||||
|
||||
package_rust-docs() {
|
||||
description=('Documentation for the Rust programming language')
|
||||
pkgdesc='Documentation for the Rust programming language'
|
||||
|
||||
cd "rustc-$pkgver-src"
|
||||
install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE*
|
||||
|
|
Loading…
Reference in a new issue