Skip to content
This repository was archived by the owner on Dec 9, 2018. It is now read-only.

Commit c58d02a

Browse files
author
Jorge Aparicio
committed
armhf/scripts: disable LLVM assertions for nightly channel
1 parent ecbe81f commit c58d02a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

armhf/build-rust.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ set -e
1919
: ${SNAP_DIR:=~/snap}
2020
: ${SRC_DIR:=~/src}
2121

22+
case $CHANNEL in
23+
beta | stable ) CHANNEL=--release-channel=$CHANNEL;;
24+
nightly) CHANNEL=;;
25+
*) echo "unknown release channel: $CHANNEL" && exit 1;;
26+
esac
27+
2228
# Update source to upstream
2329
cd $SRC_DIR
2430
git checkout master
@@ -56,7 +62,7 @@ LOGFILE=rust-$HEAD_DATE-$HEAD_HASH.test.output.txt
5662
# build it
5763
cd build
5864
../configure \
59-
--release-channel=$CHANNEL \
65+
$CHANNEL \
6066
--disable-valgrind \
6167
--enable-ccache \
6268
--enable-local-rust \

0 commit comments

Comments
 (0)