Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733794 - dev-util/hip: C++ Heterogeneous-Compute Interface for Portability
Summary: dev-util/hip: C++ Heterogeneous-Compute Interface for Portability
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL: https://github.com/ROCm-Developer-Too...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 732952
  Show dependency tree
 
Reported: 2020-07-24 17:32 UTC by Dennis Schridde
Modified: 2021-01-20 05:36 UTC (History)
1 user (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 Dennis Schridde 2020-07-24 17:32:09 UTC
DESCRIPTION="C++ Heterogeneous-Compute Interface for Portability"
HOMEPAGE="https://github.com/ROCm-Developer-Tools/HIP"

Dependency of bug #732952.

A rather hacky ebuild and patches is available from my overlay: https://github.com/devurandom/gentoo-overlay/commit/3e91988df359cacb91d9a213c1b91758a1369787

Needs more testing and work, though, since the result can build HIP/samples/0_Intro/square, but the resulting binary freezes my system, the cause for which is still unknown.

Reproducible: Always
Comment 1 Aisha Tammy 2020-10-19 13:52:29 UTC
Dennis, I suggest you add these to the ::science overlay, I recently added a bunch of AMD libraries so this might fit well with that.

In addition, ::gentoo is overworked and hard to add new packages right now

science overlay - https://github.com/gentoo/sci

Make a PR and then we can see how to progress :)
Comment 2 Larry the Git Cow gentoo-dev 2021-01-20 05:36:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8837056f58be66a4bc0cad115f66264fb8e066d7

commit 8837056f58be66a4bc0cad115f66264fb8e066d7
Author:     Benda Xu <heroxbd@gentoo.org>
AuthorDate: 2021-01-19 12:53:28 +0000
Commit:     Benda Xu <heroxbd@gentoo.org>
CommitDate: 2021-01-20 04:51:52 +0000

    dev-util/hip: replace hcc with rocclr.
    
    hcc is deprecated and rocclr is the mainstream.  Replace remaining hcc
    in run_hipcc.cmake and hipcc.  This also enables --genco support, which
    will be essential in building e.g. Tensile.
    
    Fix trailing - in HIP_LIB_VERSION_STRING by imposing Gentoo version.
    
    Let cmake use the correct HIP_CLANG_INCLUDE_PATH for llvm-roc.
    
    Suggested-by: Yiyang Wu <xgreenlandforwyy@gmail.com>
    Closes: https://bugs.gentoo.org/733794
    Package-Manager: Portage-3.0.12, Repoman-3.0.1
    Signed-off-by: Benda Xu <heroxbd@gentoo.org>

 dev-util/hip/hip-4.0.0-r1.ebuild | 116 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 116 insertions(+)