[all-commits] [llvm/llvm-project] b1802d: [llvm][ExecutionEngine] Don't try to run tests on ...

David Spickett via All-commits all-commits at lists.llvm.org
Wed Aug 4 02:24:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b1802d694c1cce753d4e54b5924c68c7621d9dc7
      https://github.com/llvm/llvm-project/commit/b1802d694c1cce753d4e54b5924c68c7621d9dc7
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

  Changed paths:
    M llvm/test/ExecutionEngine/lit.local.cfg

  Log Message:
  -----------
  [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




More information about the All-commits mailing list