Bug: cpu_set_t is undefined in specific Android Archs, making compilation impossible #9324
Labels
bug-unconfirmed
high severity
Used to report high severity bugs in llama.cpp (Malfunctioning hinder important workflow)
What happened?
Changes to thread affinity cause Android builds to use:
However,
cpu_set_t
,CPU_SET
andCPU_ZERO
does not necessarily exist in all Android NDK versions, causing specific pipelines to fail.A simple fix would be to add the following definitions:
However, this solution seems ineligant. I'm not an in-depth android developer so I'm not sure if there is a more poignant solution.
Name and Version
Custom pipeline for android arm64-v8a
What operating system are you seeing the problem on?
Windows
Relevant log output
No response
The text was updated successfully, but these errors were encountered: