File tree Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Expand file tree Collapse file tree 4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change 1818 - aarch64-unknown-linux-gnu
1919 - armv6vfp-unknown-linux-gnueabihf
2020 - armv7-unknown-linux-gnueabihf
21+ - armv7-unknown-linux-gnueabihf-stretch
2122 - aarch64-unknown-linux-musl
2223 - armv7-unknown-linux-musl
2324 - aarch64-linux-android
Original file line number Diff line number Diff line change @@ -103,6 +103,12 @@ case "$PLATFORM" in
103103 cargo build --target aarch64-apple-darwin
104104 ;;
105105
106+ " armv7-unknown-linux-gnueabihf-stretch" )
107+ (cd .travis/docker-debian-stretch; docker build --tag debian-stretch .)
108+ docker run -v ` pwd` :/tract -w /tract -e PLATFORM=armv7-unknown-linux-gnueabihf debian-stretch ./.travis/cross.sh
109+ export RUSTC_TRIPLE=armv7-unknown-linux-gnueabihf
110+ ;;
111+
106112 " aarch64-unknown-linux-gnu" | " armv6vfp-unknown-linux-gnueabihf" | " armv7-unknown-linux-gnueabihf" | \
107113 " aarch64-unknown-linux-musl" | " armv7-unknown-linux-musl" )
108114
@@ -202,9 +208,13 @@ case "$PLATFORM" in
202208 ;;
203209esac
204210
205- if [ -n " $AWS_ACCESS_KEY_ID " -a - e " target/$RUSTC_TRIPLE /release/tract" ]
211+ if [ -e " target/$RUSTC_TRIPLE /release/tract" ]
206212then
207213 export RUSTC_TRIPLE
208214 TASK_NAME=` .travis/make_bundle.sh`
209- aws s3 cp $TASK_NAME .tgz s3://tract-ci-builds/tasks/$PLATFORM /$TASK_NAME .tgz
215+ echo bench task: $TASK_NAME
216+ if [ -n " $AWS_ACCESS_KEY_ID " ]
217+ then
218+ aws s3 cp $TASK_NAME .tgz s3://tract-ci-builds/tasks/$PLATFORM /$TASK_NAME .tgz
219+ fi
210220fi
Original file line number Diff line number Diff line change 1+ FROM debian:stretch
2+
3+ COPY sources.list /etc/apt/sources.list
4+ RUN apt-get -y update ; apt-get -y upgrade ; apt-get install -y curl wget build-essential # gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
5+ # RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
6+ # ENV PATH $PATH:/root/.cargo/bin
7+ # RUN rustup target install armv7-unknown-linux-gnueabihf
Original file line number Diff line number Diff line change 1+ deb http://archive.debian.org/debian/ stretch contrib main non-free
2+ deb http://archive.debian.org/debian stretch-backports main
3+ deb http://archive.debian.org/debian-security stretch/updates main
You can’t perform that action at this time.
0 commit comments