ocaml-gitlab icon indicating copy to clipboard operation
ocaml-gitlab copied to clipboard

Why ppc32 is excluded?

Open barracuda156 opened this issue 2 months ago • 6 comments

@tmcgilchrist Hi! Bumped into your repo from this topic and got a question now. Opam states this is not supported on ppc32:

Available | arch != "x86_32" & arch != "arm32" & arch != "ppc32"

Any specific reason for that? Compatibility with OCaml includes very old versions, which certainly support 32-bit archs (and even OCaml 5.x is supposed to retain support for them via bytecode).

barracuda156 avatar Oct 15 '25 02:10 barracuda156

My guess is that GitLab returns 64-bits integers and the mapping is not supported.

MisterDA avatar Oct 16 '25 18:10 MisterDA

@MisterDA Thank you for responding. Is there a way to test it? (Aside of just trying to use it with GitLab.) I am interested in CLI client on powerpc-darwin, since there is not modern enough browser to handle JS.

barracuda156 avatar Oct 16 '25 18:10 barracuda156

There were compilation issues in 4.14 (and before) on the native code for 32 bit systems. However I no longer have a powerpc-darwin machine, please try it out and see if you get errors.

tmcgilchrist avatar Oct 17 '25 01:10 tmcgilchrist

@tmcgilchrist Thank you, I will try. Native codegen is broken (it was in fact removed in some early 4.x, and last time I tried to restore it, it did not work – it was long ago), but bytecode should work.

barracuda156 avatar Oct 17 '25 03:10 barracuda156

@tmcgilchrist I think it works:

Image

barracuda156 avatar Oct 17 '25 09:10 barracuda156

Excellent. Good to know the bytecode version is working.

On Fri, 17 Oct 2025 at 5:55 pm, Sergey Fedorov @.***> wrote:

barracuda156 left a comment (tmcgilchrist/ocaml-gitlab#99) https://github.com/tmcgilchrist/ocaml-gitlab/issues/99#issuecomment-3414715547

@tmcgilchrist https://github.com/tmcgilchrist I think it works: lab.png (view on web) https://github.com/user-attachments/assets/14f13468-5a1f-41e2-b090-7958c773102d

— Reply to this email directly, view it on GitHub https://github.com/tmcgilchrist/ocaml-gitlab/issues/99#issuecomment-3414715547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABJXOI3OSHQEMNHXVAGGZL3YC4HRAVCNFSM6AAAAACJGTQCSWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMJUG4YTKNJUG4 . You are receiving this because you were mentioned.Message ID: @.***>

tmcgilchrist avatar Oct 19 '25 01:10 tmcgilchrist