Skip to content

Commit

Permalink
Compile all avialable binaries of QE (#1)
Browse files Browse the repository at this point in the history
* New docker build strategy

* Compile all avialable binaries of QE
  • Loading branch information
unkcpz authored Jun 4, 2024
1 parent 4252171 commit 03110af
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,12 @@ RUN wget -c -O qe.tar.gz https://gitlab.com/QEF/q-e/-/archive/qe-${QE_VERSION}/q
tar xf qe.tar.gz -C qe --strip-components=1 && \
cd qe && \
LAPACK_LIBS=/usr/local/lapack/lib/liblapack.a BLAS_LIBS=/usr/local/lapack/lib/librefblas.a ./configure -enable-static && \
make -j8 pw ph && \
make -j8 all && \
make install


# Move binaries to a small image to reduce the size
FROM runtime-base-image

#RUN apt-get update && apt-get install -y \
# libquadmath0 \
# && rm -rf /var/lib/apt/lists/* \
# && apt-get clean all

COPY --from=0 /usr/local/bin/* /usr/local/bin/

0 comments on commit 03110af

Please sign in to comment.