abetlen / abetlen/llama-cpp-python

building a whl for android, issues with cmake

Open
#1,284 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
10.6k
Forks
1.4k
PR merge metrics
PR metrics pending

Description

We have a thread going at https://github.com/chaquo/chaquopy/issues/1094#issuecomment-2004486131 I am hoping someone can answer this issue. it seems the llama.cpp file is using the ```posix_madvise function``` with the ```POSIX_MADV_WILLNEED``` and ```POSIX_MADV_RANDOM``` flags, which are not available or supported on the Android platform.

Are these necessary? Can I comment them out if building for android?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.