archpkgs/python-pytorch-rocm/use-system-libuv2.patch
Gabriel Ebner d5c96a7fd9 git subrepo clone https://github.com/rocm-arch/python-pytorch-rocm
subrepo:
  subdir:   "python-pytorch-rocm"
  merged:   "bc28dc1"
upstream:
  origin:   "https://github.com/rocm-arch/python-pytorch-rocm"
  branch:   "master"
  commit:   "bc28dc1"
git-subrepo:
  version:  "0.4.3"
  origin:   "???"
  commit:   "???"
2021-01-14 18:48:07 +01:00

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)