Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c3ef41b + ae5682f commit 951e39cCopy full SHA for 951e39c
CMakeLists.txt
@@ -41,14 +41,16 @@ if (LLAMA_BUILD)
41
RESOURCE DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/llama_cpp
42
)
43
# Workaround for Windows + CUDA https://github.com/abetlen/llama-cpp-python/issues/563
44
- install(
45
- FILES $<TARGET_RUNTIME_DLLS:llama>
46
- DESTINATION ${SKBUILD_PLATLIB_DIR}/llama_cpp
47
- )
48
49
50
- DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/llama_cpp
51
+ if (WIN32 AND (LLAMA_CUDA OR LLAMA_CUBLAS))
+ install(
+ FILES $<TARGET_RUNTIME_DLLS:llama>
+ DESTINATION ${SKBUILD_PLATLIB_DIR}/llama_cpp
+ )
+ DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/llama_cpp
52
53
+ endif()
54
55
if (LLAVA_BUILD)
56
if (LLAMA_CUBLAS OR LLAMA_CUDA)
0 commit comments