summaryrefslogtreecommitdiff
path: root/development/rust
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2018-08-04 21:00:44 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-08-11 07:23:02 +0700
commit159d8491b5e1491e53c8b35e720abab5273a055e (patch)
tree52a106ca4087ef26b45f56522de7cdf39acff193 /development/rust
parent51d6927a2e32276f6d3a6e6b177db266659f9235 (diff)
downloadslackbuilds-159d8491b5e1491e53c8b35e720abab5273a055e.tar.gz
development/rust: Updated for version 1.28.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'development/rust')
-rw-r--r--development/rust/README.SLACKWARE5
-rw-r--r--development/rust/rust.SlackBuild10
-rw-r--r--development/rust/rust.info46
3 files changed, 31 insertions, 30 deletions
diff --git a/development/rust/README.SLACKWARE b/development/rust/README.SLACKWARE
index b4a56e392a..7b9746f86e 100644
--- a/development/rust/README.SLACKWARE
+++ b/development/rust/README.SLACKWARE
@@ -16,8 +16,8 @@ Here is a rough guide to bootstrap rust completely from source:
* Build and install mrustc (from slackbuilds.org). You now have a fully
functional rust 1.19.0.
-* Now build for rust 1.20.0, 1.21.0, 1.22.1, 1.23.0, 1.24.1, 1.25.0, 1.26.2
- and finally 1.27.2.
+* Now build for rust 1.20.0, 1.21.0, 1.22.1, 1.23.0, 1.24.1, 1.25.0, 1.26.2,
+ 1.27.2 and finally 1.28.0.
This slackbuild is currently compatible with each of those versions.
Since we are building completely from source, you only need the source
@@ -34,6 +34,7 @@ Example:
VERSION=1.25.0 FULL_BOOTSTRAP=no LOCAL_BOOTSTRAP=yes ./rust.SlackBuild
VERSION=1.26.2 FULL_BOOTSTRAP=no LOCAL_BOOTSTRAP=yes ./rust.SlackBuild
VERSION=1.27.2 FULL_BOOTSTRAP=no LOCAL_BOOTSTRAP=yes ./rust.SlackBuild
+ VERSION=1.28.0 FULL_BOOTSTRAP=no LOCAL_BOOTSTRAP=yes ./rust.SlackBuild
You might prefer to do a full bootstrap for 1.20.0, which is what mrustc's own
bootstrap script suggests. The versions after that do not need a full bootstrap.
diff --git a/development/rust/rust.SlackBuild b/development/rust/rust.SlackBuild
index 98b0387c46..dfa914e405 100644
--- a/development/rust/rust.SlackBuild
+++ b/development/rust/rust.SlackBuild
@@ -26,20 +26,20 @@
PRGNAM=rust
SRCNAM="${PRGNAM}c"
-VERSION=${VERSION:-1.27.2}
+VERSION=${VERSION:-1.28.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Set this to YES to build with the system LLVM, or NO to use the bundled LLVM.
# YES is probably better (when it works...)
-# LLVM in Slackware14.2 is now too old to build rust 1.27.2
+# LLVM in Slackware14.2 is now too old to build rust 1.28.0
SYSTEM_LLVM=${SYSTEM_LLVM:-NO}
SYSTEM_LLVM=$(echo "$SYSTEM_LLVM" | tr '[:lower:]' '[:upper:]')
# Bootstrap variables (might not be kept updated for latest Rust):
-RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.26.0}
-RSTAGE0_DIR=${RSTAGE0_DIR:-2018-05-10}
-CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.27.0}
+RSTAGE0_VERSION=${RSTAGE0_VERSION:-1.27.2}
+RSTAGE0_DIR=${RSTAGE0_DIR:-2018-07-20}
+CSTAGE0_VERSION=${CSTAGE0_VERSION:-0.28.0}
CSTAGE0_DIR=${CSTAGE0_DIR:-$RSTAGE0_DIR}
if [ -z "$ARCH" ]; then
diff --git a/development/rust/rust.info b/development/rust/rust.info
index c1231975de..dabb0b2af4 100644
--- a/development/rust/rust.info
+++ b/development/rust/rust.info
@@ -1,28 +1,28 @@
PRGNAM="rust"
-VERSION="1.27.2"
+VERSION="1.28.0"
HOMEPAGE="https://www.rust-lang.org"
-DOWNLOAD="https://static.rust-lang.org/dist/rustc-1.27.2-src.tar.xz \
- https://static.rust-lang.org/dist/2018-05-10/cargo-0.27.0-i686-unknown-linux-gnu.tar.gz \
- https://static.rust-lang.org/dist/2018-05-10/rust-std-1.26.0-i686-unknown-linux-gnu.tar.gz \
- https://static.rust-lang.org/dist/2018-05-10/rustc-1.26.0-i686-unknown-linux-gnu.tar.gz \
- https://static.rust-lang.org/dist/2018-05-10/cargo-0.27.0-arm-unknown-linux-gnueabi.tar.gz \
- https://static.rust-lang.org/dist/2018-05-10/rust-std-1.26.0-arm-unknown-linux-gnueabi.tar.gz \
- https://static.rust-lang.org/dist/2018-05-10/rustc-1.26.0-arm-unknown-linux-gnueabi.tar.gz"
-MD5SUM="0cd18cb0afe88df0d24c6e16f81f4d53 \
- 109f6dc05eda54bb18a45e86a7eb2f0b \
- a8dfbaf8e75f8afe4d989ccd1bf3cedf \
- f81c2288a93d47484375b424a0995d2a \
- f62733feed24cbf59ebc2161c74d9207 \
- 1a49ec9bb275c57a7f9fe4a770869e13 \
- 4bc1372aa07d4e133ca406d4d0952f09"
-DOWNLOAD_x86_64="https://static.rust-lang.org/dist/rustc-1.27.2-src.tar.xz \
- https://static.rust-lang.org/dist/2018-05-10/cargo-0.27.0-x86_64-unknown-linux-gnu.tar.gz \
- https://static.rust-lang.org/dist/2018-05-10/rust-std-1.26.0-x86_64-unknown-linux-gnu.tar.gz \
- https://static.rust-lang.org/dist/2018-05-10/rustc-1.26.0-x86_64-unknown-linux-gnu.tar.gz"
-MD5SUM_x86_64="0cd18cb0afe88df0d24c6e16f81f4d53 \
- 9dd47b2e02a639e0879c3293eb8c7fc0 \
- 643460e582de498eea53ec1e93aeabab \
- 939631f19dd9ca5ae8493dc8ec2d3131"
+DOWNLOAD="https://static.rust-lang.org/dist/rustc-1.28.0-src.tar.xz \
+ https://static.rust-lang.org/dist/2018-07-20/cargo-0.28.0-i686-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2018-07-20/rust-std-1.27.2-i686-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2018-07-20/rustc-1.27.2-i686-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2018-07-20/cargo-0.28.0-arm-unknown-linux-gnueabi.tar.gz \
+ https://static.rust-lang.org/dist/2018-07-20/rust-std-1.27.2-arm-unknown-linux-gnueabi.tar.gz \
+ https://static.rust-lang.org/dist/2018-07-20/rustc-1.27.2-arm-unknown-linux-gnueabi.tar.gz"
+MD5SUM="9b2ca9e1b47667deeaf215685c9c3ada \
+ 84501c56b38664eea19aae8e641f5701 \
+ 7498aa45c3cfbe3a3d6068381921f6eb \
+ dba7a20c24e1f07b4358e0fc77b1d044 \
+ 54764a91f15a40e7e5c3e9a3413796b0 \
+ 6fb4507dc3ff617100868580fb498347 \
+ 6279ddaa86e7084450234e99a995d312"
+DOWNLOAD_x86_64="https://static.rust-lang.org/dist/rustc-1.28.0-src.tar.xz \
+ https://static.rust-lang.org/dist/2018-07-20/cargo-0.28.0-x86_64-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2018-07-20/rust-std-1.27.2-x86_64-unknown-linux-gnu.tar.gz \
+ https://static.rust-lang.org/dist/2018-07-20/rustc-1.27.2-x86_64-unknown-linux-gnu.tar.gz"
+MD5SUM_x86_64="9b2ca9e1b47667deeaf215685c9c3ada \
+ c04d9ce9ef7c8da9918b77b3c89dcb5b \
+ 5984050796555e02702e50403a50a389 \
+ 5bd1f3f085a13ff479652db0bba17ae8"
REQUIRES="patchelf"
MAINTAINER="Andrew Clemons"
EMAIL="andrew.clemons@gmail.com"