On Thursday, December 16, 2021 6:07:10 PM CET Jeremy Newton wrote:
Full disclosure, I am both a Fedora packager and an employee at AMD.
To be clear, the following is not at all endorsed by my employer; my
interest and use of Fedora is purely a personal hobby and I would like to
keep it that way.
There has been a recent effort to step up Debian packaging of ROCm,
and
would like to see if anyone has some interest in expanding the Fedora ROCm
packages.
I see there's a few packages already, and I'm hoping to help
with some
internal processes to make ROCm more distro friendly, such as better FHS
compliance, clearer licensing, etc.
Anyone interested? I would be happy to
try to help or review package requests :)
Hi Jeremy,
some time ago I tried to start this. The first step would be to cleanup cmake
to actually install them correctly and find the dependencies in the system.
I've started with this but for some libraries it worked for other it took
ages.
See e.g. my PRs here:
https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/pulls?
q=is%3Apr+is%3Aclosed
With every new release there are other strange defaults like building
libraries as static by default:
https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/blob/master/
CMakeLists.txt#L37
So before starting with packaging, cmake should be cleaned up:
https://cliutils.gitlab.io/modern-cmake/