Skip to content

Commit 75a6eb0

Browse files
Nexesenexikawrakow
andcommitted
Fighting with cmake #279
Co-Authored-By: Kawrakow <[email protected]>
1 parent fda1d2f commit 75a6eb0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,12 @@ if (LLAMA_CUBLAS)
250250

251251
set(LLAMA_EXTRA_LIBS ${LLAMA_EXTRA_LIBS} CUDA::cuda_driver)
252252

253+
if (NOT GGML_MUSA)
254+
set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_INCLUDES 0)
255+
set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_LIBRARIES 0)
256+
set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_OBJECTS 0)
257+
endif()
258+
253259
if (NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
254260
# 35 == Lowest CUDA 11 standard for Kepler
255261
# 37 == Highest CUDA 11 standard for Kepler

0 commit comments

Comments
 (0)