Skip to content

build: Fix ROCm shared library builds - #3158

Merged
ggerganov merged 1 commit into
masterfrom
fix-rocm-shared-lib-build
Sep 14, 2023
Merged

ggerganov merged 1 commit into
masterfrom
fix-rocm-shared-lib-build

Conversation

@abetlen

@abetlen abetlen commented Sep 13, 2023

Copy link
Copy Markdown
Collaborator

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

@SlyEcho SlyEcho left a comment

Copy link
Copy Markdown
Contributor

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
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
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