-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forward to hpipm tag 0.1.3 and fix error in hpipm install script.
- Loading branch information
Showing
1 changed file
with
17 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |