Skip to content

add stable-diffusion.cpp to install target (fix #580)#635

Merged
cjpais merged 1 commit intomozilla-ai:mainfrom
rgroesslinger:main
Mar 14, 2025
Merged

add stable-diffusion.cpp to install target (fix #580)#635
cjpais merged 1 commit intomozilla-ai:mainfrom
rgroesslinger:main

Conversation

@rgroesslinger
Copy link
Copy Markdown
Contributor

The "install" target of the Makefile was missing stable-diffusion.cpp so on a clean checkout "make install" fails like reported in #580. With this patch clean checkouts can do "make install" without error and have a working sdfile executable.

@cjpais
Copy link
Copy Markdown
Collaborator

cjpais commented Mar 13, 2025

will test but likely to pull in if it's not already fixed

@cjpais
Copy link
Copy Markdown
Collaborator

cjpais commented Mar 14, 2025

@rgroesslinger can you still replicate this issue? I just checked and I cannot. I will close if it's already solved.

@rgroesslinger
Copy link
Copy Markdown
Contributor Author

Still happening here with current main branch, maybe someone else who came across this can confirm.
Clean checkout, "make -j8 && make install" fails at the end of "make install"

install o//stable-diffusion.cpp/main /home/devel/llamafile/bin/sdfile
install: cannot stat 'o//stable-diffusion.cpp/main': No such file or directory
make: *** [Makefile:62: install] Error 1

Applying the change from the patch still fixes this for me. If there is anything else I can do to help, let me know.

@cjpais
Copy link
Copy Markdown
Collaborator

cjpais commented Mar 14, 2025

That's fine, I'll pull it in. I didn't see any issue building on my machine when I pulled it, so we'll use it as a fix.

@cjpais cjpais merged commit 480b76f into mozilla-ai:main Mar 14, 2025
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