2018-01-24 19:14:19 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -e
|
|
|
|
set -x
|
|
|
|
|
|
|
|
export CC=gcc-7
|
|
|
|
export CXX=g++-7
|
|
|
|
export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
|
|
|
|
export UNICORNDIR=$(pwd)/externals/unicorn
|
|
|
|
|
|
|
|
mkdir build && cd build
|
2018-04-03 22:11:40 +01:00
|
|
|
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DDYNARMIC_USE_LLVM=1 -DDYNARMIC_TESTS_USE_UNICORN=1 -DDYNARMIC_ENABLE_CPU_FEATURE_DETECTION=0
|
2018-01-24 19:14:19 +00:00
|
|
|
make -j4
|
|
|
|
|
|
|
|
./tests/dynarmic_tests --durations yes
|