Initial port for AIX - #109
Conversation
|
Is there anyway to test for AIX? Does #104 not 'solve' the cwd issue? |
|
Before I get to AIX: this currently doesn't build on the non-AIX path with the project's They are still declared at function scope in the The AIX path itself looks sound. Forcing That is also a cheap answer to the CI question: the AIX branch can be compiled and One thing to expect on real AIX, unrelated to this PR: I'm trying to get access to an AIX machine to confirm the AIX-specific parts ( |
|
Follow-up: I now have AIX 7.2 TL04 (7200-04-02-2027) running on POWER8 with Both premises of this PR hold. @sheredom, to your two questions: Does #104 solve the cwd issue? No. #104 made the probe correct for old glibc The compiler's suggestion is worth noting: Is there any way to test for AIX? Yes, and cheaply. Select the That is a better CI lever than What real AIX showsOn unpatched
AIX is not the only oneTaken from each vendor's own
Where I got toI have opened #112 with your commit On AIX the result passes 441 of 441 with no override beyond Two things that are not this PR's problem but block AIX in practice:
|
|
Closing in favour of #112 |
Recently llama.cpp started using upstream
subprocess.hfor launching llama-server in router mode.Here -> ggml-org/llama.cpp@ec18edf
And some of the APIs used in this file are not present on AIX natively. So using combination of other primitive APIs like
fork()andexec()I have replicated the functionality of theposix_spawn_file_actions_addchdirWith these changes llama.cpp now works smoothly on AIX.
Please let me know if any changes required
thank you!!