summaryrefslogtreecommitdiff
path: root/source/d/rust/rust.SlackBuild
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2019-05-25 20:03:47 +0000
committerEric Hameleers <alien@slackware.com>2019-05-26 08:59:47 +0200
commit2c3f22d980b1d1cf65391cf566c551387beb5030 (patch)
treeaa7455361e378264410f31087727512d20adbcd8 /source/d/rust/rust.SlackBuild
parente7b7b935947783ef2f4dfa78652380865f80aa6c (diff)
downloadcurrent-2c3f22d980b1d1cf65391cf566c551387beb5030.tar.gz
Sat May 25 20:03:47 UTC 201920190525200347
a/gettext-0.20.1-x86_64-1.txz: Upgraded. a/kernel-generic-4.19.46-x86_64-1.txz: Upgraded. a/kernel-huge-4.19.46-x86_64-1.txz: Upgraded. a/kernel-modules-4.19.46-x86_64-1.txz: Upgraded. d/gcc-9.1.0-x86_64-6.txz: Rebuilt. Patched to fix a format string error in the es locale that led to an assertion failure when compiling the Linux kernel. Thanks to USUARIONUEVO. d/gcc-brig-9.1.0-x86_64-6.txz: Rebuilt. d/gcc-g++-9.1.0-x86_64-6.txz: Rebuilt. d/gcc-gdc-9.1.0-x86_64-6.txz: Rebuilt. d/gcc-gfortran-9.1.0-x86_64-6.txz: Rebuilt. d/gcc-gnat-9.1.0-x86_64-6.txz: Rebuilt. d/gcc-go-9.1.0-x86_64-6.txz: Rebuilt. d/gcc-objc-9.1.0-x86_64-6.txz: Rebuilt. d/gettext-tools-0.20.1-x86_64-1.txz: Upgraded. d/kernel-headers-4.19.46-x86-1.txz: Upgraded. d/rust-1.35.0-x86_64-1.txz: Upgraded. k/kernel-source-4.19.46-noarch-1.txz: Upgraded. l/python-urllib3-1.25.3-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. kernels/*: Upgraded. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/d/rust/rust.SlackBuild')
-rwxr-xr-xsource/d/rust/rust.SlackBuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/d/rust/rust.SlackBuild b/source/d/rust/rust.SlackBuild
index 8a52b31a..48eb71ec 100755
--- a/source/d/rust/rust.SlackBuild
+++ b/source/d/rust/rust.SlackBuild
@@ -26,17 +26,17 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=rust
SRCNAM="${PKGNAM}c"
-VERSION=${VERSION:-1.34.2}
+VERSION=${VERSION:-1.35.0}
BUILD=${BUILD:-1}
# Set this to YES to build with the system LLVM, or NO to use the bundled LLVM.
# YES is probably better (when it works...)
-SYSTEM_LLVM=${SYSTEM_LLVM:-NO}
+SYSTEM_LLVM=${SYSTEM_LLVM:-YES}
# Bootstrap variables (might not be kept updated for latest Rust):
-RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.33.0}
-RSTAGE0_DIR=${RSTAGE0_DIR:-2019-02-28}
-CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.34.0}
+RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.34.2}
+RSTAGE0_DIR=${RSTAGE0_DIR:-2019-05-14}
+CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.35.0}
CSTAGE0_DIR=${CSTAGE0_DIR:-$RSTAGE0_DIR}
# Automatically determine the architecture we're building on:
@@ -154,9 +154,9 @@ if [ "$LOCAL_BOOTSTRAP" != "yes" ] ; then
mkdir -p build/cache/$RSTAGE0_DIR
cp $CWD/$PKGNAM-std-$RSTAGE0_VERSION-$BARCH-unknown-linux-gnu.tar.?z \
$CWD/$SRCNAM-$RSTAGE0_VERSION-$BARCH-unknown-linux-gnu.tar.?z \
- build/cache/$RSTAGE0_DIR || exit 1
+ build/cache/$RSTAGE0_DIR
mkdir -p build/cache/$CSTAGE0_DIR
- cp $CWD/cargo-$CSTAGE0_VERSION-$BARCH-unknown-linux-gnu.tar.?z build/cache/$CSTAGE0_DIR || exit 1
+ cp $CWD/cargo-$CSTAGE0_VERSION-$BARCH-unknown-linux-gnu.tar.?z build/cache/$CSTAGE0_DIR
fi
# Build configuration. We'll go ahead and build with rpath because it may be
@@ -241,8 +241,8 @@ if [ "$ARCH" = "armv7hl" ] ; then
else
# README.md says gcc 4.7 / clang 3.x or later needed
# but building fails for me with GCC 5.3 from slackware 14.2
- CC=clang \
- CXX=clang++ \
+ export CC=clang
+ export CXX=clang++
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
python x.py dist || exit 1