summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* dev-util/hip: replace hcc with rocclr.Benda Xu2021-01-201-0/+116
| | | | | | | | | | | | | | | 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: C++ Heterogeneous-Compute Interface for Portability.Benda Xu2020-12-279-0/+296
This ebuild is adopted from that of https://github.com/justxi/rocm. 1. change hip location from /usr/lib/hip/<ver> to /usr/lib/hip. We do not have plans to support multiple hip versions at once. 2. turn the hipify function off as it does not work. We will re-enable it as a USE flag when possible. 3. properly prefixify the source code making use of hprefixify(). 4. migrate from cmake-utils to cmake eclass. Closes: https://github.com/gentoo/gentoo/pull/18787 Suggested-by: Wilfried Holzke <gentoo@holzke.net> Suggested-by: Yiyang Wu <xgreenlandforwyy@gmail.com> Package-Manager: Portage-3.0.12, Repoman-3.0.1 Signed-off-by: Benda Xu <heroxbd@gentoo.org>