* [gentoo-soc] Week 11 Report for Refining ROCm Packages in Gentoo
@ 2022-08-29 14:53 wuyy
2022-08-29 16:12 ` Benda Xu
0 siblings, 1 reply; 2+ messages in thread
From: wuyy @ 2022-08-29 14:53 UTC (permalink / raw
To: gentoo-soc
Hello all,
My progress this week is mainly writing wiki and refining rocm.eclass.
Although the current eclass can work with my new ebuilds [1], Michał
Górny has pointed out various flaws on the Github PR [2]. He also
pointed out the necessity about rocm.eclass, because it seems like a
combination of two eclasses. In my opinion, rocm.eclass has its value,
mainly for handling USE_EXPANDS and common phase functions. The ugly
part is mainly in rocm_src_test: due to the inconsistency of test
methods of packages in [3], I have to detect which method is using and
do it accordingly. So my plan is to split the one-size-fits-all
rocm_src_test into two functions, corresponding to two scenarios (cmake
test or standalone binary), and let each ebuild decide which to use.
This can avoid detailed detection code that make rocm_src_test bloated.
Wiki writing: I think the main part of ROCm wiki[1] and HIP[2] is nearly
finished. But due to the delay of rocm.eclass, the related information
is not appended (ROCm#Developing guide). There is also a section a
reserved: ROCm#Installation guide. I have little clue on how to write
this part, because ROCm is a wide collection of packages. Maybe a meta
package (there are users working on this) would be helpful.
To be honest I'm a bit anxious, because there is only one week left, but
there are still a lot to be determined and tested on rocm.eclass along
with the sci-libs/roc* ebuilds. I hope I can resolve these core issues
in the last week.
[1] https://github.com/littlewu2508/gentoo/tree/rocm-5.1.3-scilibs
[2] https://github.com/gentoo/gentoo/pull/26784
[3] https://github.com/ROCmSoftwarePlatform
[4] https://wiki.gentoo.org/wiki/ROCm
[5] https://wiki.gentoo.org/wiki/HIP
--
Yiyang Wu
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-soc] Week 11 Report for Refining ROCm Packages in Gentoo
2022-08-29 14:53 [gentoo-soc] Week 11 Report for Refining ROCm Packages in Gentoo wuyy
@ 2022-08-29 16:12 ` Benda Xu
0 siblings, 0 replies; 2+ messages in thread
From: Benda Xu @ 2022-08-29 16:12 UTC (permalink / raw
To: gentoo-soc
wuyy <xgreenlandforwyy@gmail.com> writes:
> There is also a section a reserved: ROCm#Installation guide. I have
> little clue on how to write this part, because ROCm is a wide
> collection of packages. Maybe a meta package (there are users working
> on this) would be helpful.
I don't like the idea of a meta package. Just emerge what you need is
enough. We are Gentoo, our users don't need a trivial installation
guide.
Benda
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-08-29 16:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-29 14:53 [gentoo-soc] Week 11 Report for Refining ROCm Packages in Gentoo wuyy
2022-08-29 16:12 ` Benda Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox