Use latest jsdec and rz-ghidra to match rizin version

This commit is contained in:
Kārlis Seņko 2021-03-31 20:08:58 +03:00 committed by Florian Märkl
parent 1488ff2eb3
commit 95879d4835
6 changed files with 6 additions and 41 deletions

View file

@ -1,11 +0,0 @@
#!/bin/bash
set -eu
scripts/rz-ghidra.sh \
-DCMAKE_C_COMPILER=cl \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH="$APPVEYOR_BUILD_FOLDER/rz_dist;$APPVEYOR_BUILD_FOLDER/rz_dist/include/librz;$APPVEYOR_BUILD_FOLDER/rz_dist/include/librz/sdb" \
-DCMAKE_INSTALL_PREFIX="$APPVEYOR_BUILD_FOLDER/rz_dist" \
-DRIZIN_INSTALL_PLUGDIR="$APPVEYOR_BUILD_FOLDER/rz_dist/lib/plugins" \
-DBUILD_SLEIGH_PLUGIN=OFF

View file

@ -7,7 +7,7 @@ SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
cd "$SCRIPTPATH/.."
if [[ ! -d jsdec ]]; then
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch v0.1.x
git clone https://github.com/rizinorg/jsdec.git --depth 1 --branch v0.2.x
fi
cd jsdec

View file

@ -1,24 +0,0 @@
#!/bin/bash
set -e
SCRIPTPATH=$(realpath "$(dirname "${BASH_SOURCE[0]}")")
cd "$SCRIPTPATH/.."
if [[ ! -d rz-ghidra ]]; then
# remove depth, branch and uncomment lines below to use specifc commit
git clone --recurse-submodules https://github.com/rizinorg/rz-ghidra.git --depth 1 --branch master || exit 1
#pushd rz-ghidra
#git checkout --recurse-submodules 5e845f4b50e8559bd51af03b22b6586e8cc5c35c
#popd
fi
cd rz-ghidra || exit 1
mkdir build && cd build || exit 1
cmake -G Ninja "$@" .. || exit 1
ninja || exit 1
ninja install || exit 1