Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix build: default to lib instead of lib64 #1037

Closed
wants to merge 3 commits into from
Closed
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmake/cuda.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ if(CUDA_FOUND)

# set cuda runtime and driver lib
# override cublas and curand because the FindCUDA module may not find the correct libs
set(CUDADRV_LIBRARIES ${CUDA_TOOLKIT_ROOT_DIR}/lib64/stubs/libcuda${LIBEXT})
set(CUDA_CUBLAS_LIBRARIES ${CUDA_TOOLKIT_ROOT_DIR}/lib64/libcublas${LIBEXT})
set(CUDA_curand_LIBRARY ${CUDA_TOOLKIT_ROOT_DIR}/lib64/libcurand${LIBEXT})
set(CUDADRV_LIBRARIES ${CUDA_TOOLKIT_ROOT_DIR}/lib/stubs/libcuda${LIBEXT})
set(CUDA_CUBLAS_LIBRARIES ${CUDA_TOOLKIT_ROOT_DIR}/lib/libcublas${LIBEXT})
set(CUDA_curand_LIBRARY ${CUDA_TOOLKIT_ROOT_DIR}/lib/libcurand${LIBEXT})
list(APPEND FLEXFLOW_EXT_LIBRARIES
${CUDADRV_LIBRARIES}
${CUDA_CUBLAS_LIBRARIES}
Expand Down