Skip to content

Conversation

SergeantSerk
Copy link
Contributor

Fixes an issue with stable-diffusion needing libgomp.so.1 but not present during runtime.

/sd: error while loading shared libraries: libgomp.so.1: cannot open shared object file: No such file or directory
  • Introduces cmake parallel build
  • No install recommends for the build stage to prevent any extra packages from being installed in the build stage

Build time (on my machine, no caching) docker build --no-cache -t sd .:

  • Without improvements: 96.0s
  • With improvements: 59.4s

Made improvements to dockerfile readability and image size management
We don't submit build stage to the image so no need to waste time cleaning it
fkleon added a commit to fkleon/stable-diffusion.cpp that referenced this pull request Sep 26, 2025
Introduces cmake parallel build

See leejet#852
fkleon added a commit to fkleon/stable-diffusion.cpp that referenced this pull request Oct 2, 2025
Introduces cmake parallel build

See leejet#852
@leejet leejet merged commit 940a201 into leejet:master Oct 10, 2025
@leejet
Copy link
Owner

leejet commented Oct 10, 2025

Thank you for your contribution.

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