From ce5ad240faa228152a57382398f39f16115d6527 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Tue, 3 Apr 2018 22:11:40 +0100 Subject: [PATCH] travis: Enable DYNARMIC_USE_LLVM Provides disassembly, which is useful for debugging failing tests on CI. --- .travis.yml | 2 ++ .travis/sse3-only-on-x86_64-linux/build.sh | 2 +- .travis/test-a64-on-x86_64-linux/build.sh | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5c4247e9..fea700af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,7 @@ matrix: packages: - gcc-7 - g++-7 + - llvm-dev install: ./.travis/test-a64-on-x86_64-linux/deps.sh script: ./.travis/test-a64-on-x86_64-linux/build.sh - env: NAME="Test - SSE3 only" @@ -36,6 +37,7 @@ matrix: packages: - gcc-7 - g++-7 + - llvm-dev install: ./.travis/sse3-only-on-x86_64-linux/deps.sh script: ./.travis/sse3-only-on-x86_64-linux/build.sh - env: NAME="macOS Build" diff --git a/.travis/sse3-only-on-x86_64-linux/build.sh b/.travis/sse3-only-on-x86_64-linux/build.sh index 151c9a2f..0546f497 100755 --- a/.travis/sse3-only-on-x86_64-linux/build.sh +++ b/.travis/sse3-only-on-x86_64-linux/build.sh @@ -9,7 +9,7 @@ export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH export UNICORNDIR=$(pwd)/externals/unicorn 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 ./tests/dynarmic_tests --durations yes diff --git a/.travis/test-a64-on-x86_64-linux/build.sh b/.travis/test-a64-on-x86_64-linux/build.sh index ee131b2c..e4b149cd 100755 --- a/.travis/test-a64-on-x86_64-linux/build.sh +++ b/.travis/test-a64-on-x86_64-linux/build.sh @@ -9,7 +9,7 @@ export PKG_CONFIG_PATH=$HOME/.local/lib/pkgconfig:$PKG_CONFIG_PATH export UNICORNDIR=$(pwd)/externals/unicorn 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 ./tests/dynarmic_tests --durations yes