Skip to content

Commit

Permalink
added crosstool changes (apache#5564)
Browse files Browse the repository at this point in the history
  • Loading branch information
arank authored and piiswrong committed Mar 25, 2017
1 parent cfe2848 commit 0339433
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 25 deletions.
23 changes: 23 additions & 0 deletions tests/ci_build/Dockerfile.crosstool
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
FROM ubuntu
MAINTAINER Aran Khanna <[email protected]>

# UPDATE BOX
RUN apt-get update && apt-get -y upgrade

# TOOLCHAIN DEPS
RUN apt-get install -y python python-setuptools python-pip python-dev unzip gfortran
RUN apt-get install -y git bison cvs flex gperf texinfo automake libtool help2man make libtool-bin libncurses5-dev g++ cmake wget gawk
RUN pip install numpy nose

# BUILD TOOLCHAIN
RUN git clone https://github.com/arank/crosstool-NG
RUN cd crosstool-NG && ./bootstrap && ./configure && make && make install

RUN useradd -ms /bin/bash aran
RUN cd && cp -R .profile .bashrc /home/aran
ADD . /home/aran/build

RUN chown -R aran:aran /home/aran

RUN cd /home/aran/build && su -m aran -c "export HOME=/home/aran;ct-ng arm-unknown-linux-gnueabi;ct-ng build"

25 changes: 0 additions & 25 deletions tests/ci_build/Dockerfile.ubuntu1404_crosstool

This file was deleted.

0 comments on commit 0339433

Please sign in to comment.