Skip to content

Commit c08fb72

Browse files
author
Dilawar Singh
committed
renamed build script and fixes to some paths.
1 parent 118efb0 commit c08fb72

14 files changed

+34
-44
lines changed

.ci/Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Run this script from top directory
2+
# docker build . --file .ci/Dockerfile --tag bhallalab/build-wheels:$(date +%s)
3+
FROM bhallalab/python-wheels:latest
4+
MAINTAINER Dilawar Singh <[email protected]>
5+
WORKDIR /root
6+
COPY . /root/moose-core/
7+
RUN ./build_wheels_linux.sh
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

.docker/wheel/Dockerfile

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,15 @@ ARG PYPI_PASSWORD
55
MAINTAINER Dilawar Singh <[email protected]>
66
ENV PATH=/usr/local/bin:$PATH
77
RUN yum update -y
8-
RUN yum install -y cmake3
9-
RUN yum install -y wget
8+
RUN yum install -y cmake3 wget curl && yum clean all
109
RUN ln -s /usr/bin/cmake3 /usr/bin/cmake
1110
RUN ln -s /usr/bin/ctest3 /usr/bin/ctest
12-
COPY ../wheel /root/
11+
RUN curl -O https://ftp.gnu.org/gnu/gsl/gsl-2.4.tar.gz \
12+
&& tar xvf gsl-2.4.tar.gz \
13+
&& cd gsl-2.4 \
14+
&& CFLAGS=-fPIC ./configure --enable-static && make $MAKEOPTS \
15+
&& make install \
16+
&& cd ..
1317
WORKDIR /root
14-
RUN cd wheel && ./build_wheels_linux.sh
15-
RUN echo "pass $PYPI_PASSWORD"
16-
RUN cd wheel && ./test_and_upload.sh "$PYPI_PASSWORD"
18+
COPY ./build_wheels.sh /root
19+
COPY ./test_and_upload.sh /root

0 commit comments

Comments
 (0)