1
0
mirror of synced 2024-11-12 16:08:58 +01:00
TheChymera-overlay/sci-libs/pytorch/files/pytorch-1.6.0-tensorpipe-unbundle-libuv.patch

14 lines
384 B
Diff
Raw Normal View History

Index: tensorpipe/cmake/pytorch.cmake
===================================================================
--- tensorpipe.orig/cmake/pytorch.cmake
+++ tensorpipe/cmake/pytorch.cmake
@@ -138,7 +138,7 @@ endif()
add_library(tensorpipe ${TENSORPIPE_SRC})
-set(TP_BUILD_LIBUV ON)
+set(TP_BUILD_LIBUV OFF)
find_package(uv REQUIRED)
target_link_libraries(tensorpipe PRIVATE uv::uv)