Skip to content

Standardize and fix CUDA artifact naming and packaging#11

Merged
kenvandine merged 2 commits into
lemonade-sdk:lemonadefrom
Phqen1x:lemonade
Jun 5, 2026
Merged

Standardize and fix CUDA artifact naming and packaging#11
kenvandine merged 2 commits into
lemonade-sdk:lemonadefrom
Phqen1x:lemonade

Conversation

@Phqen1x
Copy link
Copy Markdown

@Phqen1x Phqen1x commented Jun 5, 2026

This pull request updates the build workflow to improve CUDA and GGML library handling for both Linux and Windows builds. The changes ensure that all relevant GGML shared libraries and DLLs are properly included in the build output, and that CUDA settings are more explicitly defined in the CMake configuration.

Build system improvements:

  • Enabled the GGML_CUDA option and explicitly set the CUDA compiler path in the CMake configuration to ensure CUDA support is properly built.
  • Updated the file copying logic to include all GGML shared libraries (libggml*.so* on Linux, ggml*.dll on Windows) in the build output, instead of only copying the CUDA-specific library. [1] [2]

Phqen1x and others added 2 commits June 5, 2026 09:08
Add -DGGML_CUDA=ON and -DCMAKE_CUDA_COMPILER explicitly to the Linux
CUDA cmake invocation so CUDA is actually compiled instead of silently
falling back to CPU when auto-detection fails.

Widen the ggml artifact collection from libggml-cuda.so only to
libggml*.so* (Linux) and ggml*.dll (Windows) to capture all ggml shared
libraries (core, base backend, cuda backend) regardless of where cmake
places them in the build tree.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@kenvandine kenvandine self-assigned this Jun 5, 2026
Copy link
Copy Markdown
Member

@kenvandine kenvandine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks much better, thanks!

@kenvandine kenvandine merged commit b638fe9 into lemonade-sdk:lemonade Jun 5, 2026
11 checks passed
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.

2 participants