From 28cf631f85d964dfe111629b610a2586e2d9aac3 Mon Sep 17 00:00:00 2001 From: David Williams-Young Date: Thu, 17 Aug 2023 14:55:50 -0700 Subject: [PATCH 1/2] Fix GNU Makefile parallel build for LibRETT --- external/librett.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/librett.cmake b/external/librett.cmake index 797bc8e64e..aa1287d90d 100644 --- a/external/librett.cmake +++ b/external/librett.cmake @@ -133,7 +133,7 @@ else() ") # Add LibreTT dependency to External - add_dependencies(External-tiledarray librett-build) + add_dependencies(External-tiledarray librett) set(_LIBRETT_INSTALL_DIR ${EXTERNAL_INSTALL_DIR}) From 1338737bc5018ff83c63e267f2bad52252fa6b63 Mon Sep 17 00:00:00 2001 From: David Williams-Young Date: Thu, 17 Aug 2023 14:56:47 -0700 Subject: [PATCH 2/2] Explicitly link to CUDA::cudart to fix missing symbols --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b96180ce76..a8b3d6f4fd 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -267,7 +267,7 @@ if(CUDA_FOUND) LANGUAGE CUDA) # the list of libraries on which TiledArray depends on - list(APPEND _TILEDARRAY_DEPENDENCIES CUDA::cublas CUDA::nvToolsExt TiledArray_LIBRETT) + list(APPEND _TILEDARRAY_DEPENDENCIES CUDA::cudart CUDA::cublas CUDA::nvToolsExt TiledArray_LIBRETT) endif(CUDA_FOUND)