Skip to content

Commit

Permalink
Fix Dockerfile-octave so it will build linux/amd64 on Apple Silicon D…
Browse files Browse the repository at this point in the history
…ocker.
  • Loading branch information
rdzman committed Jun 13, 2024
1 parent fdb0010 commit 2a44445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile-octave
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ ONBUILD ARG SKIP_OSQP
# Install latest Ipopt from source
ONBUILD RUN mkdir -p coinbrew && \
cd coinbrew && \
wget https://raw.githubusercontent.com/coin-or/coinbrew/v1.0/coinbrew && \
wget https://raw.githubusercontent.com/coin-or/coinbrew/master/coinbrew && \
chmod a+x coinbrew && \
export with_lapack_lflags="-lopenblas" && \
./coinbrew fetch Ipopt --no-prompt && \
./coinbrew build Ipopt --prefix /usr --tests all --with-intsize=64 --no-prompt && \
./coinbrew build Ipopt --prefix /usr --tests all --with-intsize=64 --no-prompt --disable-java && \
cd .. && \
rm -rf coinbrew
# Install mexIPOPT
Expand Down

0 comments on commit 2a44445

Please sign in to comment.