[llvm] b1802d6 - [llvm][ExecutionEngine] Don't try to run tests on ARM64/Windows on Arm
David Spickett via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 4 02:24:23 PDT 2021
Author: David Spickett
Date: 2021-08-04T09:24:18Z
New Revision: b1802d694c1cce753d4e54b5924c68c7621d9dc7
URL: https://github.com/llvm/llvm-project/commit/b1802d694c1cce753d4e54b5924c68c7621d9dc7
DIFF: https://github.com/llvm/llvm-project/commit/b1802d694c1cce753d4e54b5924c68c7621d9dc7.diff
LOG: [llvm][ExecutionEngine] Don't try to run tests on ARM64/Windows on Arm
We use CMAKE_SYSTEM_PROCESSOR to set the host_arch lit feature.
This is going to be the same value as CMAKE_HOST_SYSTEM_PROCESSOR,
which on windows is set to the value of the PROCESSOR_ARCHITECTURE
environment variable.
https://cmake.org/cmake/help/latest/variable/CMAKE_HOST_SYSTEM_PROCESSOR.html#cmake-host-system-processor
On Windows on Arm this is "ARM64", not "AArch64" as we currently
look for.
https://docs.microsoft.com/en-us/windows/win32/winprog64/wow64-implementation-details#environment-variables
Add ARM64 to the unsupported list.
Reviewed By: lhames
Differential Revision: https://reviews.llvm.org/D107361
Added:
Modified:
llvm/test/ExecutionEngine/lit.local.cfg
Removed:
################################################################################
diff --git a/llvm/test/ExecutionEngine/lit.local.cfg b/llvm/test/ExecutionEngine/lit.local.cfg
index 88e3e9b23883c..8b7d157a25c51 100644
--- a/llvm/test/ExecutionEngine/lit.local.cfg
+++ b/llvm/test/ExecutionEngine/lit.local.cfg
@@ -1,4 +1,4 @@
-if config.root.host_arch in ['Sparc', 'PowerPC', 'AArch64', 'SystemZ']:
+if config.root.host_arch in ['Sparc', 'PowerPC', 'AArch64', 'ARM64', 'SystemZ']:
config.unsupported = True
# CMake and autoconf diverge in naming or host_arch
More information about the llvm-commits
mailing list