[Bug]: Non-X86 build Error
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 383
- Avg merge
- 8d 18h
- Merged PRs (30d)
- 4
Description
### Which component impacted?
_No response_
### Is it regression? Good in old configuration?
None
### What happened?
I'm building a driver on Android aarch64 platform. Why it requires SSE2/SSE4 now? Can this library run on non-x86 machines?
We can see it in `cm_mem_sse2_impl.cpp`:
```
#if defined(__SSE2__) || !(defined(LINUX) || defined(ANDROID))
```
Why Android requires it?
My Errors:
```
In file included from ../media_driver/agnostic/common/cm/cm_mem_sse2_impl.cpp:27:
In file included from ../media_driver/agnostic/common/cm/cm_mem.h:28:
/home/user/android/android-ndk-r26d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/17/include/mmintrin.h:14:2: error: "This header is only meant to be used on x86 and x64 architecture"
#error "This header is only meant to be used on x86 and x64 architecture"
```
### What's the usage scenario when you are seeing the problem?
Cloud Gaming
### What impacted?
_No response_
### Debug Information
_No response_
### Do you want to contribute a patch to fix the issue?
None
Contributor guide
Assessment
This issue has not been assessed yet.