diff options
author | Kawrakow <iwankawrakow@gmail.com> | 2025-03-22 16:58:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-22 16:58:30 +0100 |
commit | 13ecc5332ec4c5ad38d930019a1b6a7211c88e50 (patch) | |
tree | 69222bbeadae04b0ca2f28b28df0cdbda1d16154 | |
parent | d8584a1bbe561f681d55830688eef33f43155af6 (diff) |
Fighting with cmake (#279)
Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com>
-rw-r--r-- | ggml/src/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ggml/src/CMakeLists.txt b/ggml/src/CMakeLists.txt index 7013526c..67b8f36d 100644 --- a/ggml/src/CMakeLists.txt +++ b/ggml/src/CMakeLists.txt @@ -421,6 +421,11 @@ if (GGML_CUDA) set(GGML_EXTRA_LIBS ${GGML_EXTRA_LIBS} CUDA::cuda_driver) # required by cuDeviceGetAttribute(), cuMemGetAllocationGranularity(...), ... endif() endif() + if (NOT GGML_MUSA) + set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_INCLUDES 0) + set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_LIBRARIES 0) + set(CMAKE_CUDA_USE_RESPONSE_FILE_FOR_OBJECTS 0) + endif() else() message(WARNING "CUDA not found") endif() |