Package Details: stable-diffusion.cpp-git r256.5900ef6-1

Git Clone URL: https://aur.archlinux.org/stable-diffusion.cpp-git.git (read-only, click to copy)
Package Base: stable-diffusion.cpp-git
Description: Stable Diffusion in pure C/C++
Upstream URL: https://github.com/leejet/stable-diffusion.cpp
Licenses: MIT
Conflicts: stable-diffusion.cpp
Provides: stable-diffusion.cpp
Submitter: robertfoster
Maintainer: None
Last Packager: robertfoster
Votes: 3
Popularity: 0.003715
First Submitted: 2023-12-24 16:37 (UTC)
Last Updated: 2025-12-21 14:06 (UTC)

Latest Comments

« First ‹ Previous 1 2

dreieck commented on 2024-03-25 13:17 (UTC)

clang needs to be added to makedepends array, and maybe also lld, since clang++ is used for compilation.

dreieck commented on 2024-03-25 13:14 (UTC) (edited on 2024-03-25 13:14 (UTC) by dreieck)

Ahoj,

please follow the Arch Linux guide on git submodules and list all submodules in the source array so that they get cloned when makepkg downloads the sources, and then only reference them in prepare().

Regards and thanks for maintaining!

dreieck commented on 2024-03-24 14:25 (UTC)

A note:

It now fails to build for me with

error: option 'cf-protection=return' cannot be specified on this target
error: option 'cf-protection=branch' cannot be specified on this target
189 warnings and 2 errors generated when compiling for gfx906.
make[2]: *** [ggml/src/CMakeFiles/ggml-rocm.dir/build.make:76: ggml/src/CMakeFiles/ggml-rocm.dir/ggml-cuda.cu.o] Error 1

(On AMD Zen 4, 7840U)

Regards!

dreieck commented on 2024-02-08 15:03 (UTC)

You need to rework your pkgver():

It must generate a higher version number with each upstream commit.

But for this package, this is erratic: master is a constant, and then follows the git commit hash, which has no ordering.

Please make sure that $pkgver increases with each upstream commit; as a last resort use r<commit_count> where <commit_count> can be retrieved programmatically with git rev-list --count HEAD.

ALSO

please follow the Arch Linux guide on git submodules and list all submodules in the source array and then only reference them in prepare().

Regards and thanks for maintaining!