archpkgs/python-pytorch-rocm/use-system-libuv2.patch

14 lines
340 B
Diff

diff --git a/cmake/pytorch.cmake b/cmake/pytorch.cmake
index e4d6b9c..48e0669 100644
--- a/cmake/pytorch.cmake
+++ b/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)