miasm: fixed llvmlite install

This commit is contained in:
Michael Rodler 2017-04-05 16:23:50 +02:00
parent 1e6c96168c
commit 23942c318d

View file

@ -3,15 +3,16 @@
git clone --depth 1 https://github.com/serpilliere/elfesteem.git
git clone --depth 1 https://github.com/cea-sec/miasm.git
ctf-tools-pip install -U enum34
if which llvm-config-3.9 >/dev/null 2>&1 ; then
export LLVM_CONFIG=$(which llvm-config-3.9)
ctf-tools-pip install -U enum34 "llvmlite==0.16"
ctf-tools-pip install "llvmlite==0.16"
elif which llvm-config-3.8 >/dev/null 2>&1 ; then
export LLVM_CONFIG=$(which llvm-config-3.8)
ctf-tools-pip install -U enum34 "llvmlite==0.15"
ctf-tools-pip install "llvmlite==0.15"
elif which llvm-config >/dev/null 2>&1; then
# let's hope for the best
ctf-tools-pip install -U enum34 llvmlite
ctf-tools-pip install llvmlite
else
echo "Skipping llvmlite install!"
fi