commit hacked bap build script

This commit is contained in:
George Hotz 2014-09-12 15:31:10 +00:00
parent 922b2ca8c6
commit a5b0065b16
1 changed files with 20 additions and 0 deletions

20
bap_build.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash -e
# this script is woefully incomplete
# because I already had tons of stuff on this VM
# update before release
sudo apt-get install ocaml-interp
mkdir -p bap
cd bap
if [ ! -d bap-lifter ]; then
git clone https://github.com/BinaryAnalysisPlatform/bap-lifter.git
fi
cd bap-lifter
./configure
make -j $(grep processor < /proc/cpuinfo | wc -l)
# installed at bap/bap-lifter/toil.native