mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-22 11:13:58 +08:00
26 lines
824 B
Plaintext
26 lines
824 B
Plaintext
wget 'https://www.coin-or.org/download/source/Ipopt/Ipopt-3.12.8.zip'
|
|
7z x Ipopt-3.12.8.zip
|
|
cd Ipopt-3.12.8/
|
|
|
|
pushd ThirdParty/Blas
|
|
./get.Blas
|
|
mkdir build && cd build
|
|
../configure --prefix="$HOME/one/external/ipopt" --disable-shared --with-pic
|
|
make install
|
|
popd
|
|
|
|
pushd ThirdParty/Lapack
|
|
./get.Lapack
|
|
mkdir build && cd build
|
|
../configure --prefix="$HOME/one/external/ipopt" --disable-shared --with-pic --with-blas="$HOME/one/external/ipopt/lib/libcoinblas.a -lgfortran"
|
|
make install
|
|
popd
|
|
|
|
(cd ThirdParty/ASL && ./get.ASL)
|
|
(cd ThirdParty/Mumps && ./get.Mumps)
|
|
|
|
./configure --prefix="$HOME/one/external/ipopt" coin_skip_warn_cxxflags=yes --with-blas="$HOME/one/external/ipopt/lib/libcoinblas.a -lgfortran" --with-lapack="$HOME/one/external/ipopt/lib/libcoinlapack.a" --disable-shared --with-pic
|
|
make
|
|
make test
|
|
make -j1 install
|