1
0
mirror of synced 2024-09-25 10:01:48 +02:00
TheChymera-overlay/sci-libs/pytorch/files/pytorch-1.6.0-tensorpipe-unbundle-libuv.patch
Horea Christian 61db1849ca
sci-libs/pytorch: fix ahead of Gentoo Science
Bug: https://bugs.gentoo.org/738592
Package-Manager: Portage-3.0.2, Repoman-2.3.23
Signed-off-by: Horea Christian <chr@chymera.eu>
2020-08-23 04:12:34 -04:00

14 lines
384 B
Diff

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)