mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
extra/rust to 1.37.0-2
This commit is contained in:
parent
d3e77cc6cf
commit
255e031659
2 changed files with 15 additions and 4 deletions
|
@ -17,25 +17,31 @@ highmem=1
|
||||||
pkgname=('rust' 'rust-docs')
|
pkgname=('rust' 'rust-docs')
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgver=1.37.0
|
pkgver=1.37.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
|
|
||||||
|
_llvm_ver=8.0.1
|
||||||
|
|
||||||
pkgdesc='Systems programming language focused on safety, speed and concurrency'
|
pkgdesc='Systems programming language focused on safety, speed and concurrency'
|
||||||
url='https://www.rust-lang.org/'
|
url='https://www.rust-lang.org/'
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('MIT' 'Apache')
|
license=('MIT' 'Apache')
|
||||||
|
|
||||||
makedepends=('rust' 'llvm' 'libffi' 'perl' 'python' 'curl' 'cmake')
|
makedepends=('rust' "llvm=$_llvm_ver" 'libffi' 'perl' 'python' 'curl' 'cmake')
|
||||||
checkdepends=('procps-ng' 'gdb')
|
checkdepends=('procps-ng' 'gdb')
|
||||||
|
|
||||||
options=('!emptydirs')
|
options=('!emptydirs')
|
||||||
|
|
||||||
source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
|
source=("https://static.rust-lang.org/dist/rustc-$pkgver-src.tar.gz"{,.asc}
|
||||||
|
"https://github.com/llvm/llvm-project/releases/download/llvmorg-$_llvm_ver/compiler-rt-$_llvm_ver.src.tar.xz"{,.sig}
|
||||||
config.toml)
|
config.toml)
|
||||||
|
|
||||||
sha256sums=('120e7020d065499cc6b28759ff04153bfdc2ac9b5adeb252331a4eb87cbe38c3'
|
sha256sums=('120e7020d065499cc6b28759ff04153bfdc2ac9b5adeb252331a4eb87cbe38c3'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'd8076a0e894c179897856e61b277fed271b93f32653e23d7ad9e4d2b9418ef64')
|
'11828fb4823387d820c6715b25f6b2405e60837d12a7469e7a8882911c721837'
|
||||||
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE') # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
|
'SKIP'
|
||||||
|
'4773c50dca4ee344e33ea9ef3af89647fedef1ede5cbc2d3a8e57afd88a979cc')
|
||||||
|
validpgpkeys=('108F66205EAEB0AAA8DD5E1C85AB96E6FA1BE5FE' # Rust Language (Tag and Release Signing Key) <rust-key@rust-lang.org>
|
||||||
|
'474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar@redhat.com>
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "rustc-$pkgver-src"
|
cd "rustc-$pkgver-src"
|
||||||
|
@ -55,6 +61,9 @@ prepare() {
|
||||||
build() {
|
build() {
|
||||||
cd "rustc-$pkgver-src"
|
cd "rustc-$pkgver-src"
|
||||||
|
|
||||||
|
export RUST_BACKTRACE=1
|
||||||
|
export RUST_COMPILER_RT_ROOT="$srcdir/compiler-rt-$_llvm_ver.src"
|
||||||
|
|
||||||
python ./x.py build $jobs
|
python ./x.py build $jobs
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,8 @@ rustc = "/usr/bin/rustc"
|
||||||
python = "python"
|
python = "python"
|
||||||
extended = true
|
extended = true
|
||||||
sanitizers = false
|
sanitizers = false
|
||||||
|
profiler = true
|
||||||
|
local-rebuild = false
|
||||||
|
|
||||||
[install]
|
[install]
|
||||||
prefix = "/usr"
|
prefix = "/usr"
|
||||||
|
|
Loading…
Reference in a new issue