Skip to content

Commit f66e216

Browse files
author
yhy
committed
增加 构建。
1 parent 8617d1f commit f66e216

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

docker/DockerBase

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,9 @@ RUN cd /root && curl -o QuantLib-1.11.tar.gz https://codeload.github.com/lballab
5858
curl -o QuantLib-SWIG-1.11.tar.gz https://codeload.github.com/lballabio/QuantLib-SWIG/tar.gz/QuantLib-SWIG-v1.11 && \
5959
apt-get update && apt-get install -y python-dev swig automake autoconf libtool libboost-all-dev && \
6060
tar -zxvf QuantLib-1.11.tar.gz && tar -zxvf QuantLib-SWIG-1.11.tar.gz && \
61-
cd QuantLib-QuantLib-v1.11 && ./autogen.sh && ./configure && make && make install && ldconfig && \
62-
cd ../QuantLib-SWIG-QuantLib-SWIG-v1.11 && ./autogen.sh && ./configure PYTHON=/usr/local/bin/python3 && \
61+
cd QuantLib-QuantLib-v1.11 && ./autogen.sh && ./configure && make && make install && ldconfig
62+
63+
RUN cd /root/QuantLib-SWIG-QuantLib-SWIG-v1.11 && ./autogen.sh && ./configure PYTHON=/usr/bin/python3 && \
6364
make -C Python && make -C Python install && apt-get remove -y python-dev swig automake autoconf libtool && \
6465
rm -rf /root/QuantLib-QuantLib-v1.11 && rm -rf /root/QuantLib-SWIG-QuantLib-SWIG-v1.11
6566

0 commit comments

Comments
 (0)