Commit 638b1564 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

fixing accidental typo in src/CMakeLists.txt


Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 76703956
Pipeline #65658 failed with stage
in 17 seconds
add_library(ExaTensor::ExaTensor SHARED IMPORTED)
c
set(REQUIRED_EXATENSOR_LIBS
"${OpenMP_CXX_LIBRARIES};${OpenMP_Fortran_LIBRARIES};gfortran")
set(REQUIRED_EXATENSOR_INCLUDES "${CMAKE_SOURCE_DIR}/tpls/ExaTensor/include")
......@@ -8,17 +8,19 @@ if(CUDA_FOUND)
message(STATUS "CUDA ROOT DIR ${CUDA_TOOLKIT_ROOT_DIR}")
message(STATUS "CUDA LIBS ${CUDA_LIBRARIES}")
set(REQUIRED_EXATENSOR_LIBS
"${REQUIRED_EXATENSOR_LIBS};${CUDA_LIBRARIES};${CUDA_CUBLAS_LIBRARIES};${CUDA_cudadevrt_LIBRARY};${CUDA_TOOLKIT_ROOT_DIR}/lib64/libnvToolsExt.so")
set(REQUIRED_EXATENSOR_INCLUDES "${REQUIRED_EXATENSOR_INCLUDES};${CUDA_INCLUDE_DIRS}")
set(
REQUIRED_EXATENSOR_LIBS
"${REQUIRED_EXATENSOR_LIBS};${CUDA_LIBRARIES};${CUDA_CUBLAS_LIBRARIES};${CUDA_cudadevrt_LIBRARY};${CUDA_TOOLKIT_ROOT_DIR}/lib64/libnvToolsExt.so"
)
set(REQUIRED_EXATENSOR_INCLUDES
"${REQUIRED_EXATENSOR_INCLUDES};${CUDA_INCLUDE_DIRS}")
endif()
if (BLAS_LIB AND BLAS_PATH)
find_library(BLAS_LIBRARY blas HINTS ${BLAS_PATH})
if(BLAS_LIB AND BLAS_PATH)
find_library(BLAS_LIBRARY blas HINTS ${BLAS_PATH})
message(STATUS "Appending ${BLAS_LIBRARY} to ExaTensor Libraries")
set(REQUIRED_EXATENSOR_LIBS
"${REQUIRED_EXATENSOR_LIBS};${BLAS_LIBRARY}")
message(STATUS "Appending ${BLAS_LIBRARY} to ExaTensor Libraries")
set(REQUIRED_EXATENSOR_LIBS "${REQUIRED_EXATENSOR_LIBS};${BLAS_LIBRARY}")
endif()
if(MPI_ROOT_DIR)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment