Re: [PATCH] KVM: selftests: Fix build on on non-x86 architectures

2024-10-22 Thread Vitaly Kuznetsov
Mark Brown writes: > Commit 9a400068a158 ("KVM: selftests: x86: Avoid using SSE/AVX > instructions") unconditionally added -march=x86-64-v2 to the CFLAGS used > to build the KVM selftests which does not work on non-x86 architectures: > > cc1: error: unknown value ‘x86-64-v2’ for ‘-march’ > > Fi

Re: [PATCH] KVM: selftests: Fix build on on non-x86 architectures

2024-10-21 Thread Linus Torvalds
On Mon, 21 Oct 2024 at 15:16, Mark Brown wrote: > > Fix this by making the addition of this x86 specific command line flag > conditional on building for x86. Applied directly, just to have this silly thing done with. Thanks, Linus

[PATCH] KVM: selftests: Fix build on on non-x86 architectures

2024-10-21 Thread Mark Brown
Commit 9a400068a158 ("KVM: selftests: x86: Avoid using SSE/AVX instructions") unconditionally added -march=x86-64-v2 to the CFLAGS used to build the KVM selftests which does not work on non-x86 architectures: cc1: error: unknown value ‘x86-64-v2’ for ‘-march’ Fix this by making the addition of