Linking dynamic CUDA library instead of static (less prone to breaking since Astaroth does not have to be rebuilt when CUDA is updated)
This commit is contained in:
@@ -2,7 +2,7 @@ find_package(CUDAToolkit)
|
|||||||
|
|
||||||
## Astaroth Core
|
## Astaroth Core
|
||||||
add_library(astaroth_core STATIC device.cc node.cc astaroth.cc)
|
add_library(astaroth_core STATIC device.cc node.cc astaroth.cc)
|
||||||
target_link_libraries(astaroth_core astaroth_utils astaroth_kernels CUDA::cudart_static)
|
target_link_libraries(astaroth_core astaroth_utils astaroth_kernels CUDA::cudart)
|
||||||
|
|
||||||
## Options
|
## Options
|
||||||
if (MPI_ENABLED)
|
if (MPI_ENABLED)
|
||||||
|
|||||||
Reference in New Issue
Block a user