Skip to content

Commit

Permalink
Forward to hpipm tag 0.1.3 and fix error in hpipm install script.
Browse files Browse the repository at this point in the history
  • Loading branch information
markusgft committed Nov 1, 2020
1 parent f17d721 commit 7116c8a
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions ct/install_hpipm.sh
Original file line number Diff line number Diff line change
@@ -1,20 +1,30 @@
#!/bin/bash
set -x #echo on

## remove existing installation of blasfeo/hpipm
rm -rf /opt/blasfeo
rm -rf /opt/hpipm

## get blasfeo
echo "Now installing blasfeo, using a specific commit/tag (!)"
cd /tmp
rm -rf blasfeo/
git clone https://github.com/giaf/blasfeo.git
cd /tmp/blasfeo
git checkout cc90e14 # we currently are on this commit.
make static_library
sudo make install_static
git checkout 0.1.2
mkdir -p build && cd build
cmake ..
make
sudo make install

## get hpipm
echo "Now installing hpipm, using a specific commit/tag (!)"
cd /tmp
rm -rf hpipm/
git clone https://github.com/giaf/hpipm.git
cd /tmp/hpipm
git checkout 5d9909f # we currently are on this commit.
make static_library
make examples
sudo make install_static
git checkout 0.1.3
mkdir -p build && cd build
cmake ..
make
sudo make install

0 comments on commit 7116c8a

Please sign in to comment.