Skip to content

Commit

Permalink
Try to solve issue with GLIBC_PRIVATE symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
milot-mirdita committed Nov 18, 2024
1 parent 562a47f commit 93d7479
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ if (ENABLE_CUDA)
find_package(CUDAToolkit REQUIRED)
target_compile_definitions(mmseqs-framework PUBLIC -DHAVE_CUDA=1)
target_link_libraries(mmseqs-framework marv)
if (PREFER_STATIC)
# link to rt explicitly so it doesn't get statically compiled and adds GLIBC_PRIVATE symbols
target_link_libraries(mmseqs-framework rt)
endif ()
target_link_libraries(mmseqs-framework CUDA::cudart_static)
endif ()

Expand Down

0 comments on commit 93d7479

Please sign in to comment.