travis: Enable DYNARMIC_USE_LLVM

Provides disassembly, which is useful for debugging failing tests
on CI.
This commit is contained in:
MerryMage 2018-04-03 22:11:40 +01:00
parent 871aefb9a0
commit ce5ad240fa
3 changed files with 4 additions and 2 deletions

View file

@ -24,6 +24,7 @@ matrix:
packages: packages:
- gcc-7 - gcc-7
- g++-7 - g++-7
- llvm-dev
install: ./.travis/test-a64-on-x86_64-linux/deps.sh install: ./.travis/test-a64-on-x86_64-linux/deps.sh
script: ./.travis/test-a64-on-x86_64-linux/build.sh script: ./.travis/test-a64-on-x86_64-linux/build.sh
- env: NAME="Test - SSE3 only" - env: NAME="Test - SSE3 only"
@ -36,6 +37,7 @@ matrix:
packages: packages:
- gcc-7 - gcc-7
- g++-7 - g++-7
- llvm-dev
install: ./.travis/sse3-only-on-x86_64-linux/deps.sh install: ./.travis/sse3-only-on-x86_64-linux/deps.sh
script: ./.travis/sse3-only-on-x86_64-linux/build.sh script: ./.travis/sse3-only-on-x86_64-linux/build.sh
- env: NAME="macOS Build" - env: NAME="macOS Build"

View file

@ -9,7 +9,7 @@ export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
export UNICORNDIR=$(pwd)/externals/unicorn export UNICORNDIR=$(pwd)/externals/unicorn
mkdir build && cd build mkdir build && cd build
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DDYNARMIC_TESTS_USE_UNICORN=1 -DDYNARMIC_ENABLE_CPU_FEATURE_DETECTION=0 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
make -j4 make -j4
./tests/dynarmic_tests --durations yes ./tests/dynarmic_tests --durations yes

View file

@ -9,7 +9,7 @@ export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH
export UNICORNDIR=$(pwd)/externals/unicorn export UNICORNDIR=$(pwd)/externals/unicorn
mkdir build && cd build mkdir build && cd build
cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DDYNARMIC_TESTS_USE_UNICORN=1 cmake .. -DBoost_INCLUDE_DIRS=${PWD}/../externals/ext-boost -DCMAKE_BUILD_TYPE=Release -DDYNARMIC_USE_LLVM=1 -DDYNARMIC_TESTS_USE_UNICORN=1
make -j4 make -j4
./tests/dynarmic_tests --durations yes ./tests/dynarmic_tests --durations yes