forked from apache/mxnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added crosstool changes (apache#5564)
- Loading branch information
Showing
2 changed files
with
23 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
|
This file was deleted.
Oops, something went wrong.