DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to build release binaries for six OS and CPU targets with LLM Visuals

Cross-compile archives for Linux, macOS and Windows on x86-64 and ARM64 from one machine.

Short answer: Install a Rust toolchain (1.75 or newer) and a C compiler, since SQLite is compiled from bundled C source; then run git clone https://github.com/DingoOz/llm-visuals and cd llm-visuals; run ./scripts/cross-build.sh to build every target the host can link. All steps.

Who it is forA maintainer who ships a Rust CLI and needs binaries for every platform without a separate build machine for each.

The problemProducing and testing binaries for three operating systems and two CPU families by hand is slow and error-prone.

The outcomeArchives for each supported target written to a dist folder on the local machine.

What you need first

  • Rust toolchain 1.75 or newer
  • A C compiler, needed by the bundled SQLite used for --log-db
  • A locally listening llama-server for throughput panels (the demo mode needs none)
  • nvidia-smi for NVIDIA GPU panels, xpu-smi for Intel, the amdgpu driver for AMD, or macmon on Apple silicon

Steps

  1. Install a Rust toolchain (1.75 or newer) and a C compiler, since SQLite is compiled from bundled C source.
  2. Run git clone https://github.com/DingoOz/llm-visuals and cd llm-visuals.
  3. Run ./scripts/cross-build.sh to build every target the host can link.
  4. Check the archives written to dist/ and compare the set against the six-target table in the README.

Prompt for your agent

Using the repo DingoOz/llm-visuals, run `./scripts/cross-build.sh` from the repo root. Expected output: archives for each target this host can link, written to dist/. Verify the count of archives matches the number of targets the script reports as buildable.

Caveat. Some targets need toolchains the host may lack, so the script builds only what this host can link, and the README says Windows and macOS targets are built on their own runners in CI.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for DingoOz/llm-visuals and "Build release binaries for six OS and CPU targets"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer