Skip to content

ci: match lemonade-sdk/llama.cpp CUDA library bundling#9

Merged
Phqen1x merged 1 commit into
lemonadefrom
match-lemonade-cuda-bundling
Jun 1, 2026
Merged

ci: match lemonade-sdk/llama.cpp CUDA library bundling#9
Phqen1x merged 1 commit into
lemonadefrom
match-lemonade-cuda-bundling

Conversation

@Phqen1x
Copy link
Copy Markdown
Owner

@Phqen1x Phqen1x commented Jun 1, 2026

Aligns CUDA runtime bundling with lemonade-sdk/llama.cpp.

Linux:

  • Adds libcudart.so* and libnvJitLink.so*
  • Switches to cp -av to preserve symlinks (avoids inflating the archive with duplicate file copies)
  • RPATH step now uses file(1) to patch all ELF binaries rather than a fixed glob

Windows:

  • Adds curand and nvjitlink to CUDA toolkit sub-packages
  • Copies cudart64_*.dll, cublas64_*.dll, cublasLt64_*.dll, curand64_*.dll, nvJitLink_*.dll from CUDA_PATH\bin before zipping

🤖 Generated with Claude Code

Linux:
- Add libcudart.so*, libnvJitLink.so* to bundled runtime libs
- Use cp -av (preserves symlinks) instead of cp -v
- RPATH step now patches all ELF files via file(1) instead of glob

Windows:
- Add curand and nvjitlink to CUDA toolkit sub-packages
- Copy cudart64, cublas64, cublasLt64, curand64, nvJitLink DLLs
  from CUDA_PATH\bin before zipping

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@Phqen1x Phqen1x merged commit fc97199 into lemonade Jun 1, 2026
@Phqen1x Phqen1x deleted the match-lemonade-cuda-bundling branch June 1, 2026 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant