From 0a945f8c0b0dda9465ee288b0e58dd51c77d74f6 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 9a460375..ffc0df96 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -3,9 +3,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 @@ -14,6 +14,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