Skip to content

build: Fix ROCm shared library builds #3158

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
Sep 14, 2023
Merged

Conversation

abetlen
Copy link
Collaborator

@abetlen abetlen commented Sep 13, 2023

Fixes bug where ggml-rocm is not built with -fpic when compiling llama.cpp as a shared library causing build errors. Closes #2921

@abetlen abetlen requested a review from SlyEcho September 13, 2023 20:37
Copy link
Collaborator

@SlyEcho SlyEcho left a comment

Choose a reason for hiding this comment

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

I think it should be fine.

@ggerganov ggerganov merged commit 769266a into master Sep 14, 2023
pkrmf pushed a commit to morlockstudios-com/llama.cpp that referenced this pull request Sep 26, 2023
@abetlen abetlen deleted the fix-rocm-shared-lib-build branch June 27, 2024 09:31
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.

llama.cpp fails to build as shared library with ROCm support
3 participants