Revert "Support armel/armhf builds on native arm64 hosts."

This reverts commit cc201a5396.

It's true that some aarch64 CPUs can run 32-bit ARM code, but some
(especially high-end ones, those most likely to be running builds)
cannot.  It's better to assume that they can't, so builds don't
unnecessarily fail due to attempting to run a sanity check executable.
pull/13434/head
Alyssa Ross 10 months ago committed by Eli Schwartz
parent 066cf804bb
commit 2fd7d64a50
  1. 3
      mesonbuild/environment.py

@ -513,8 +513,7 @@ def machine_info_can_run(machine_info: MachineInfo):
return \
(machine_info.cpu_family == true_build_cpu_family) or \
((true_build_cpu_family == 'x86_64') and (machine_info.cpu_family == 'x86')) or \
((true_build_cpu_family == 'mips64') and (machine_info.cpu_family == 'mips')) or \
((true_build_cpu_family == 'aarch64') and (machine_info.cpu_family == 'arm'))
((true_build_cpu_family == 'mips64') and (machine_info.cpu_family == 'mips'))
class Environment:
private_dir = 'meson-private'

Loading…
Cancel
Save