2017-07-17 17:39:10 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
2018-01-01 16:09:45 +01:00
|
|
|
export CC=gcc-7
|
|
|
|
export CXX=g++-7
|
2017-07-17 17:39:10 +02:00
|
|
|
export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
|
2018-01-14 13:58:30 +01:00
|
|
|
export UNICORNDIR=$(pwd)/externals/unicorn
|
2017-07-17 17:39:10 +02:00
|
|
|
|
|
|
|
mkdir build && cd build
|
2018-11-01 13:33:45 +01:00
|
|
|
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DDYNARMIC_USE_LLVM=1 -DDYNARMIC_TESTS_USE_UNICORN=1 -G Ninja
|
|
|
|
ninja
|
2017-07-17 17:39:10 +02:00
|
|
|
|
2020-04-13 21:00:17 +02:00
|
|
|
./tests/dynarmic_tests --durations yes "~A32:*" "~Fuzz Thumb instructions set 1"
|