Skip to content

Commit

Permalink
use gcc 10
Browse files Browse the repository at this point in the history
  • Loading branch information
bjia56 committed Oct 4, 2023
1 parent 2885249 commit a3ecd92
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/numpy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ ARG OUTPUT_DIR

RUN yum install -y blas-devel

ENV CFLAGS='-I/usr/local/ssl/include'
ENV LDFLAGS='-L/usr/local/ssl/lib'
ENV LD_LIBRARY_PATH=/usr/local/ssl/lib:$LD_LIBRARY_PATH
ENV PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig

ENV CC=/opt/rh/devtoolset-10/root/usr/bin/gcc
ENV FC=/opt/rh/devtoolset-10/root/usr/bin/gfortran5
ENV CXX=/opt/rh/devtoolset-10/root/usr/bin/g++
ENV LD=/opt/rh/devtoolset-10/root/usr/bin/g++

COPY . /repo

RUN mkdir /numpy
Expand Down

0 comments on commit a3ecd92

Please sign in to comment.