Open notramo opened 1 year ago
Curious, what's your setup that would make a musl
build helpful?
I'm using Void Linux musl
, but there are several musl
based Linux distros, probably the most popular are Alpine and postmarketOS.
@pqn what are the plans on this? Should I spend time on setting up another code recommendation system, or can I expect a musl
version to be released in the near future?
I don't think we can offer one soon. We have quite a few dependencies and would have to work through the musl compatibility for them.
I would also be interested in a musl build. IMO this should be doable with nix
(or at least, I've done this for a bunch of software previously with nix). Do you have insights on which deps would be difficult? I'd be interested in helping.
As for my usecase: being able to use codeium on any x86/aarch64 linux box without needing to fumble around with glibc versions.
Notably, we have a single Bazel C++ toolchain with CUDA support, and I don't think CUDA plays well with musl. But there is obviously no CUDA usage client-side, so it's not impossible. Thanks for offering to help -- I think most of the work is build system related and difficult to carve out, but if I notice any dependencies without support that we can't migrate away from, I'll point them out in this thread if anyone would like to investigate.
@pqn Please help provide a statically compiled version so that it can be used properly on systems with 'musl' toolchains like Alpine.
@notramo May I know how you ultimately solved it? I also hope to be able to use codeium on Alpine.
Try this: https://github.com/copilot
@wangchao-sh I think you can still run this on alpine using dynamic linking to stuff in the nix store using a statically linked nix binary. Patchelf -> nix run
botta bing botta boom.
@pqn Using Codeium in musl-based Linux distros also improves DX on DevContainers heavily based on AlpineLinux, as the extension installs on the "Remote Side" (a.k.a. inside the container)
This LSP plugin can use Codeium: https://github.com/leona/helix-gpt
Please provide
musl
based build for Linux, or compile a fully static build.