Skip to content
This repository has been archived by the owner on Jun 2, 2023. It is now read-only.

Commit

Permalink
增加 构建。
Browse files Browse the repository at this point in the history
  • Loading branch information
yhy committed Jan 10, 2018
1 parent 8617d1f commit f66e216
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/DockerBase
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ RUN cd /root && curl -o QuantLib-1.11.tar.gz https://codeload.github.com/lballab
curl -o QuantLib-SWIG-1.11.tar.gz https://codeload.github.com/lballabio/QuantLib-SWIG/tar.gz/QuantLib-SWIG-v1.11 && \
apt-get update && apt-get install -y python-dev swig automake autoconf libtool libboost-all-dev && \
tar -zxvf QuantLib-1.11.tar.gz && tar -zxvf QuantLib-SWIG-1.11.tar.gz && \
cd QuantLib-QuantLib-v1.11 && ./autogen.sh && ./configure && make && make install && ldconfig && \
cd ../QuantLib-SWIG-QuantLib-SWIG-v1.11 && ./autogen.sh && ./configure PYTHON=/usr/local/bin/python3 && \
cd QuantLib-QuantLib-v1.11 && ./autogen.sh && ./configure && make && make install && ldconfig

RUN cd /root/QuantLib-SWIG-QuantLib-SWIG-v1.11 && ./autogen.sh && ./configure PYTHON=/usr/bin/python3 && \
make -C Python && make -C Python install && apt-get remove -y python-dev swig automake autoconf libtool && \
rm -rf /root/QuantLib-QuantLib-v1.11 && rm -rf /root/QuantLib-SWIG-QuantLib-SWIG-v1.11

Expand Down

0 comments on commit f66e216

Please sign in to comment.