Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 838394 - Adjust ROCm SLOT dependency
Summary: Adjust ROCm SLOT dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Gentoo Science Related Packages
URL: https://github.com/ROCmSoftwarePlatfo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-15 04:00 UTC by Yiyang Wu
Modified: 2022-05-02 08:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yiyang Wu 2022-04-15 04:00:24 UTC
It seems that rocm packages version coherency is not that strict. Currently we require all components to be the same major.minor version (only allow patchversion to vary between packages). But https://github.com/ROCmSoftwarePlatform/rocSOLVER/issues/367#issuecomment-1099821708 indicates that low-level runtimes and high-level libraries can have different version, while packages in either set should be in the same SLOT.

So after investigation we can loose the SLOT dependency of ROCm packages.
Comment 1 Mike Gilbert gentoo-dev 2022-04-15 19:15:52 UTC
"ROCm" doesn't match any package name in the gentoo repository. Please update the summary with the category/name of a valid package.
Comment 2 Larry the Git Cow gentoo-dev 2022-05-02 08:24:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284e771bd39b4709afddcc3dd666f5f8665c3754

commit 284e771bd39b4709afddcc3dd666f5f8665c3754
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2022-05-02 07:58:23 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2022-05-02 08:24:41 +0000

    sci-libs/hipCUB: loosen the dependency on dev-util/hip
    
    sci-libs/hipSPARSE:
    sci-libs/rocPRIM:
    sci-libs/rocRAND:
    sci-libs/rocSOLVER:
    sci-libs/rocSPARSE: same
    
    The possibility is pointed out by Cory Bloor:
    
    You can probably build the versions of rocBLAS and rocSOLVER tagged at
    rocm-5.1.1 with the HIP stack from ROCm 4.3.1. Just be sure to rebuild
    all the {roc,hip}{BLAS,SOLVER} libraries at the new tag, since they
    all use private (unstable) APIs provided by rocBLAS.
    
    The sci-libs/* ROCm packages should be aligned with sci-libs/rocBLAS,
    while the other dev-*/* ROCm packages should be aligned with
    dev-util/hip.
    
    Credit: Cory Bloor
    Suggested-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Closes: https://bugs.gentoo.org/838394
    Closes: https://bugs.gentoo.org/841982
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 sci-libs/hipCUB/{hipCUB-4.3.0.ebuild => hipCUB-4.3.0-r1.ebuild}     | 4 ++--
 .../{hipSPARSE-4.3.0-r1.ebuild => hipSPARSE-4.3.0-r2.ebuild}        | 6 +++---
 .../rocPRIM/{rocPRIM-4.3.0-r1.ebuild => rocPRIM-4.3.0-r2.ebuild}    | 4 ++--
 sci-libs/rocRAND/{rocRAND-4.3.0.ebuild => rocRAND-4.3.0-r1.ebuild}  | 4 ++--
 .../rocSOLVER/{rocSOLVER-4.3.0.ebuild => rocSOLVER-4.3.0-r1.ebuild} | 2 +-
 .../{rocSPARSE-4.3.0-r2.ebuild => rocSPARSE-4.3.0-r3.ebuild}        | 2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)