Skip to content

Commit

Permalink
Update build scripts to include Vulkan SDK installation for Windows a…
Browse files Browse the repository at this point in the history
…nd Linux
  • Loading branch information
royshil committed Oct 10, 2024
1 parent d393ace commit fa96845
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ if(WIN32)
"${HIP_PATH_STR}/bin/amdhip64_6.dll"
"${HIP_PATH_STR}/bin/amd_comgr_2.dll")
install(FILES ${HIPBLAS_DLLS} DESTINATION ${CMAKE_SOURCE_DIR}/release/bin)
elif(WHISPERCPP_WITH_VULKAN)
elseif(WHISPERCPP_WITH_VULKAN)
message(STATUS "Vulkan does not require DLLs copy")
elif(WHISPERCPP_WITH_CUDA)
elseif(WHISPERCPP_WITH_CUDA)
# Check that CUDA_TOOLKIT_ROOT_DIR is set
if(NOT DEFINED CUDA_TOOLKIT_ROOT_DIR)
message(
Expand Down Expand Up @@ -206,6 +206,7 @@ if(WIN32)
install(FILES ${CUBLAS_DLLS} ${CUBLASLT_DLLS} ${CUDART_DLLS}
DESTINATION ${CMAKE_SOURCE_DIR}/release/bin)
else()
message(STATUS "Install OpenBLAS DLLs")
# add openblas to the link line
install(DIRECTORY ${OpenBLAS_DIR}/lib
DESTINATION ${CMAKE_SOURCE_DIR}/release)
Expand Down

0 comments on commit fa96845

Please sign in to comment.