File tree Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Expand file tree Collapse file tree 1 file changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,20 @@ RUN python3 -m pip install --no-cache-dir --upgrade -Iv \
173
173
matplotlib==3.1.1
174
174
175
175
WORKDIR /tmp
176
- RUN git clone -q --branch=master git://github.com/xianyi/OpenBLAS.git && \
177
- cd OpenBLAS && \
178
- make DYNAMIC_ARCH=1 NO_AFFINITY=1 NUM_THREADS=48 FC=gfortran && \
176
+ RUN mkdir -p /tmp/objconv && \
177
+ cd /tmp/objconv && \
178
+ curl -O "https://raw.githubusercontent.com/MacPython/openblas-libs/master/objconv/source.zip" && \
179
+ unzip source.zip && \
180
+ g++ -O1 -o objconv *.cpp
181
+ WORKDIR /tmp/openblas
182
+ ENV CFLAGS=-Wl,-strip-all \
183
+ CXXFLAGS=-Wl,-strip-all \
184
+ FFLAGS=-Wl,-strip-all
185
+
186
+ RUN git clone -q --branch=master git://github.com/xianyi/OpenBLAS.git /tmp/openblas && \
187
+ cd /tmp/openblas && \
188
+ make DYNAMIC_ARCH=1 NO_AFFINITY=1 USE_OPENMP=0 NUM_THREADS=64 BINARY=64 INTERFACE64=1 SYMBOLSUFFIX=64_ OBJCONV=/tmp/objconv/objconv FC=gfortran > /dev/null 2>&1 && \
189
+ make PREFIX=/opt/OpenBLAS INTERFACE64=1 SYMBOLSUFFIX=64_ OBJCONV=/tmp/objconv/objconv install && \
179
190
make install
180
191
RUN git clone --recursive https://github.com/bodono/scs-python.git && \
181
192
cd /tmp/scs-python && \
You can’t perform that action at this time.
0 commit comments