Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
72bac730
Unverified
Commit
72bac730
authored
Jan 26, 2025
by
Tyler Michael Smith
Committed by
GitHub
Jan 26, 2025
Browse files
[Build/CI] Fix libcuda.so linkage (#12424)
Signed-off-by:
Tyler Michael Smith
<
tyler@neuralmagic.com
>
parent
68f11149
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
CMakeLists.txt
CMakeLists.txt
+4
-0
No files found.
CMakeLists.txt
View file @
72bac730
...
@@ -446,6 +446,9 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
...
@@ -446,6 +446,9 @@ if(VLLM_GPU_LANG STREQUAL "CUDA")
endif
()
endif
()
message
(
STATUS
"Enabling C extension."
)
message
(
STATUS
"Enabling C extension."
)
if
(
VLLM_GPU_LANG STREQUAL
"CUDA"
)
list
(
APPEND VLLM_C_LIBS cuda
)
endif
()
define_gpu_extension_target
(
define_gpu_extension_target
(
_C
_C
DESTINATION vllm
DESTINATION vllm
...
@@ -454,6 +457,7 @@ define_gpu_extension_target(
...
@@ -454,6 +457,7 @@ define_gpu_extension_target(
COMPILE_FLAGS
${
VLLM_GPU_FLAGS
}
COMPILE_FLAGS
${
VLLM_GPU_FLAGS
}
ARCHITECTURES
${
VLLM_GPU_ARCHES
}
ARCHITECTURES
${
VLLM_GPU_ARCHES
}
INCLUDE_DIRECTORIES
${
CUTLASS_INCLUDE_DIR
}
;
${
CUTLASS_TOOLS_UTIL_INCLUDE_DIR
}
INCLUDE_DIRECTORIES
${
CUTLASS_INCLUDE_DIR
}
;
${
CUTLASS_TOOLS_UTIL_INCLUDE_DIR
}
LIBRARIES
${
VLLM_C_LIBS
}
USE_SABI 3
USE_SABI 3
WITH_SOABI
)
WITH_SOABI
)
...
...
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