Do not generate x86_64 test targets on AS hosts

Differential Revision: https://reviews.llvm.org/D122700
This commit is contained in:
Julian Lettner 2022-03-29 19:09:59 -07:00
parent 73ab5fd17b
commit 15c4239dff
1 changed files with 2 additions and 0 deletions

View File

@ -189,6 +189,8 @@ function(darwin_filter_host_archs input output)
if(ARM_HOST) if(ARM_HOST)
list(REMOVE_ITEM tmp_var i386) list(REMOVE_ITEM tmp_var i386)
list(REMOVE_ITEM tmp_var x86_64)
list(REMOVE_ITEM tmp_var x86_64h)
else() else()
list(REMOVE_ITEM tmp_var arm64) list(REMOVE_ITEM tmp_var arm64)
list(REMOVE_ITEM tmp_var arm64e) list(REMOVE_ITEM tmp_var arm64e)