Created
December 22, 2017 16:36
-
-
Save stevenrbrandt/d56475ab244ed9b9fb09dbc46c073337 to your computer and use it in GitHub Desktop.
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
FROM fedora | |
RUN dnf install -y wget python3 python3-devel python3-pip bzip2 \ | |
blas-devel lapack-devel gperftools gperftools-devel git hwloc-devel \ | |
gcc-c++ make | |
RUN pip3 install pytest | |
WORKDIR / | |
RUN wget https://cmake.org/files/v3.8/cmake-3.8.0.tar.gz | |
RUN tar xzvf cmake-3.8.0.tar.gz | |
WORKDIR /cmake-3.8.0 | |
RUN ./bootstrap | |
RUN make -j 3 | |
RUN make install | |
WORKDIR / | |
COPY boost_1_65_1.tar.bz2 . | |
RUN tar xjf boost_1_65_1.tar.bz2 | |
WORKDIR /boost_1_65_1 | |
RUN bash ./bootstrap.sh | |
RUN ./b2 -j 5 install | |
RUN echo rebuild 1 | |
WORKDIR / | |
RUN git clone --depth 1 https://github.com/STEllAR-GROUP/hpx.git | |
WORKDIR /hpx | |
RUN mkdir -p build | |
WORKDIR /hpx/build | |
RUN cmake -DCMAKE_BUILD_TYPE=Release \ | |
-DHPX_WITH_MALLOC=system \ | |
-DHPX_WITH_EXAMPLES=Off .. | |
RUN make | |
RUN make install | |
WORKDIR / | |
RUN git clone --depth 1 https://github.com/pybind/pybind11.git | |
WORKDIR /pybind11 | |
RUN mkdir -p /pybind11/build | |
WORKDIR /pybind11/build | |
RUN cmake -DCMAKE_BUILD_TYPE=Release .. | |
RUN make install | |
WORKDIR / | |
RUN git clone --depth 1 https://bitbucket.org/blaze-lib/blaze.git | |
RUN mkdir -p /blaze/build | |
WORKDIR /blaze/build | |
RUN cmake -DCMAKE_BUILD_TYPE=Release -DBLAZE_SMP_THREADS=C++11 .. | |
#HPX -DHPX_DIR=/hpx/build/lib/cmake/HPX .. | |
RUN make install | |
RUN echo build 1 | |
WORKDIR / | |
RUN git clone https://github.com/STEllAR-GROUP/phylanx.git | |
WORKDIR /phylanx | |
RUN mkdir -p /phylanx/build | |
WORKDIR /phylanx/build | |
RUN cmake -DCMAKE_BUILD_TYPE=Release -DHPX_DIR=/hpx/build/lib/cmake/HPX -Dblaze_DIR=/blaze/build/cmake -Dpybind11_DIR=/pybind11/tools .. | |
RUN make | |
RUN make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment