Skip to content

resolve naming conflict while llama.cpp and stable-diffusion.cpp both build #351

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

xyyimian
Copy link
Contributor

when llama.cpp and stable-diffusion.cpp are both dependencies, ggml will conflict

CMake Error at dependency/stable-diffusion.cpp/ggml/src/CMakeLists.txt:1280 (add_library): add_library cannot create target "ggml" because another target with the same name already exists. The existing target is a shared library created in source directory "/tmp/build-via-sdist-8bixgjbo/nexaai-0.0.0.dev0/dependency/llama.cpp/ggml/src". See documentation for policy CMP0002 for more details

@leejet leejet merged commit 6c88ad3 into leejet:master Aug 27, 2024
8 checks passed
@leejet
Copy link
Owner

leejet commented Aug 27, 2024

Thank you for your contribution

stduhpf pushed a commit to stduhpf/stable-diffusion.cpp that referenced this pull request Nov 1, 2024
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.

3 participants