From c72550f7d9177b495f1961542590e800415c0c23 Mon Sep 17 00:00:00 2001 From: SachinVin Date: Thu, 18 Jul 2019 16:42:10 +0100 Subject: [PATCH] [HACK] CMakeLists: Do not build A64 tests on AArch64 --- tests/CMakeLists.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index f814c075..aeb8a94c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -7,9 +7,9 @@ add_executable(dynarmic_tests A32/test_arm_instructions.cpp A32/test_thumb_instructions.cpp A32/testenv.h - A64/a64.cpp - A64/testenv.h - cpu_info.cpp + # A64/a64.cpp + # A64/testenv.h + # cpu_info.cpp fp/FPToFixed.cpp fp/FPValue.cpp fp/mantissa_util_tests.cpp @@ -18,6 +18,14 @@ add_executable(dynarmic_tests rand_int.h ) +if (ARCHITECTURE_x86_64) + target_sources(dynarmic_tests PRIVATE + A64/a64.cpp + A64/testenv.h + cpu_info.cpp + ) +endif() + if (DYNARMIC_TESTS_USE_UNICORN) target_sources(dynarmic_tests PRIVATE A32/fuzz_arm.cpp