mirror of
https://github.com/zardus/ctf-tools
synced 2024-12-12 14:02:33 +00:00
miasm: fixed install of llvmlite (optional dep)
This commit is contained in:
parent
d5ec06f02d
commit
e83f0784b8
1 changed files with 7 additions and 2 deletions
|
@ -3,12 +3,17 @@
|
|||
git clone --depth 1 https://github.com/serpilliere/elfesteem.git
|
||||
git clone --depth 1 https://github.com/cea-sec/miasm.git
|
||||
|
||||
if which llvm-config-3.9 2>&1 >/dev/null; then
|
||||
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"
|
||||
elif which llvm-config-3.8 2>&1 >/dev/null; then
|
||||
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"
|
||||
elif which llvm-config >/dev/null 2>&1; then
|
||||
# let's hope for the best
|
||||
ctf-tools-pip install -U enum34 llvmlite
|
||||
else
|
||||
echo "Skipping llvmlite install!"
|
||||
fi
|
||||
|
||||
ctf-tools-pip install -e elfesteem
|
||||
|
|
Loading…
Reference in a new issue