Bug 282879

Summary: misc/py-pytorch: remove unnecessary LIB_DEPENDS on net/openmpi4
Product: Ports & Packages Reporter: Tomoyuki Sakurai <trombik1973>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: yuri
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Tomoyuki Sakurai 2024-11-20 22:31:34 UTC
net/openmpi4 conflicts with net/openmpi. When misc/py-pytorch is installed, a number of other packages are removed because of the conflicts. However, misc/py-pytorch does not use net/openmpi4.

USE_MPI requires USE_DISTRIBUTED, and USE_DISTRIBUTED is OFF by default for non-supported platforms (see CMakeLists.txt). The comment in CMakeLists.txt suggests that it will not work.

Also, when built with poudriere -t, it is suggested that other LIB_DEPENDS are not necessary as well.

Warning: you might not need LIB_DEPENDS on libblis.so
Warning: you might not need LIB_DEPENDS on libpthreadpool.so