mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
parent
5f81abcb1e
commit
19a1393d12
1 changed files with 3 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
||||||
# - build v6/v7 with -j2 - RAM constraints
|
# - build v6/v7 with -j2 - RAM constraints
|
||||||
# - set llvm-config in config.toml for ARM architectures
|
# - set llvm-config in config.toml for ARM architectures
|
||||||
# - set debuginfo-level = 0 in config.toml - RAM constraints
|
# - set debuginfo-level = 0 in config.toml - RAM constraints
|
||||||
|
# - build aarch64 with 16k page support
|
||||||
|
|
||||||
highmem=1
|
highmem=1
|
||||||
|
|
||||||
|
@ -17,7 +18,7 @@ pkgbase=rust
|
||||||
pkgname=(rust rust-src)
|
pkgname=(rust rust-src)
|
||||||
epoch=1
|
epoch=1
|
||||||
pkgver=1.62.1
|
pkgver=1.62.1
|
||||||
pkgrel=1
|
pkgrel=1.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)
|
||||||
|
@ -141,6 +142,7 @@ _pick() {
|
||||||
build() {
|
build() {
|
||||||
cd rustc-$pkgver-src
|
cd rustc-$pkgver-src
|
||||||
|
|
||||||
|
[[ $CARCH == "aarch64" ]] && export JEMALLOC_SYS_WITH_LG_PAGE=16
|
||||||
export RUST_BACKTRACE=1
|
export RUST_BACKTRACE=1
|
||||||
export RUST_COMPILER_RT_ROOT="$srcdir/compiler-rt-$_llvm_ver.src"
|
export RUST_COMPILER_RT_ROOT="$srcdir/compiler-rt-$_llvm_ver.src"
|
||||||
[[ -d $RUST_COMPILER_RT_ROOT ]]
|
[[ -d $RUST_COMPILER_RT_ROOT ]]
|
||||||
|
|
Loading…
Reference in a new issue