-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build script, build instructions, build statically
- Loading branch information
root
committed
May 15, 2020
1 parent
ee20f5b
commit a8583f2
Showing
3 changed files
with
34 additions
and
6 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
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
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
echo "Build assumes Ubuntu >= 14.04" | ||
|
||
sudo apt install cmake libboost-all-dev ruby-ronn git build-essential | ||
|
||
DIR=`pwd` | ||
|
||
mkdir -p build | ||
cd build | ||
cmake .. | ||
make | ||
|
||
sudo cp haploflow /usr/local/bin | ||
|
||
cd .. | ||
ronn -r --pipe haploflow.md > haploflow.1 | ||
mkdir -p /usr/local/man/man1 | ||
sudo cp haploflow.1 /usr/local/man/man1 | ||
|
||
cd / | ||
tar czvf $DIR/build/haploflow.tar.gz usr/local/bin/haploflow usr/local/man/man1/haploflow.1 |