Skip to content

About

Legacy GLIBC builds for OpenCode

Topics

Resources

Stars

17 stars

Watchers

0 watching

Forks

Latest commit

 

History

34 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenCode Legacy GLIBC Builds

Automated builds of OpenCode v2 with bundled musl libraries for systems with older GLIBC versions (e.g., QNAP NAS).

Build for legacy GLIBC

Installation

Using mise

mise install github:pedropombeiro/opencode-legacy-glibc@latest

Manual

  1. Download the latest release from the Releases page
  2. Extract the tarball
  3. Run ./opencode/bin/opencode

See the OpenCode V2 documentation for usage and configuration.

How it works

A scheduled GitHub Action checks hourly for new stable releases of @opencode/cli on npm. For each new version, it:

  1. Downloads the upstream @opencode/cli-linux-x64-baseline-musl binary and verifies its npm integrity hash.
  2. Patches the binary's ELF interpreter to point at a bundled musl dynamic linker.
  3. Packages it with the musl loader, libstdc++, libgcc_s, and wrapper scripts.
  4. Runs a compatibility test suite on CentOS 7 (glibc 2.17) before publishing a release.

Releases up to v1.18.32 were built from OpenCode v1 sources. See docs/TROUBLESHOOTING.md for technical details.

About

Legacy GLIBC builds for OpenCode

Topics

Resources

Stars

17 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages