Bug 282879 - misc/py-pytorch: remove unnecessary LIB_DEPENDS on net/openmpi4
Summary: misc/py-pytorch: remove unnecessary LIB_DEPENDS on net/openmpi4
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-20 22:31 UTC by Tomoyuki Sakurai
Modified: 2024-11-20 22:31 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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