Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
b698f9a0
Unverified
Commit
b698f9a0
authored
Feb 06, 2025
by
Michael Yang
Committed by
GitHub
Feb 06, 2025
Browse files
build: add missing dependencies (#8896)
parent
32285a6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
CMakeLists.txt
CMakeLists.txt
+2
-1
No files found.
CMakeLists.txt
View file @
b698f9a0
...
@@ -96,11 +96,12 @@ if(CMAKE_HIP_COMPILER)
...
@@ -96,11 +96,12 @@ if(CMAKE_HIP_COMPILER)
if
(
AMDGPU_TARGETS
)
if
(
AMDGPU_TARGETS
)
add_subdirectory
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/ml/backend/ggml/ggml/src/ggml-hip
)
add_subdirectory
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/ml/backend/ggml/ggml/src/ggml-hip
)
set
(
OLLAMA_HIP_INSTALL_DIR
${
OLLAMA_INSTALL_DIR
}
/rocm
)
set
(
OLLAMA_HIP_INSTALL_DIR
${
OLLAMA_INSTALL_DIR
}
/rocm
)
install
(
TARGETS ggml-hip
install
(
TARGETS ggml-hip
RUNTIME_DEPENDENCIES
RUNTIME_DEPENDENCIES
DIRECTORIES
${
HIP_BIN_INSTALL_DIR
}
${
HIP_LIB_INSTALL_DIR
}
DIRECTORIES
${
HIP_BIN_INSTALL_DIR
}
${
HIP_LIB_INSTALL_DIR
}
PRE_INCLUDE_REGEXES
amdhip64
hipblas rocblas amd_comgr hsa
_
runtime64 rocprofiler-register drm_amdgpu
drm numa
PRE_INCLUDE_REGEXES hipblas rocblas
amdhip64 rocsolver
amd_comgr hsa
-
runtime64
rocsparse
rocprofiler-register
drm
drm_amdgpu
PRE_EXCLUDE_REGEXES
".*"
PRE_EXCLUDE_REGEXES
".*"
POST_EXCLUDE_REGEXES
"system32"
POST_EXCLUDE_REGEXES
"system32"
RUNTIME DESTINATION
${
OLLAMA_HIP_INSTALL_DIR
}
COMPONENT HIP
RUNTIME DESTINATION
${
OLLAMA_HIP_INSTALL_DIR
}
COMPONENT HIP
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment