My progress this week is mainly writing wiki and refining
Although the current eclass can work with my new ebuilds , Michał Górny has pointed out various flaws on the Github PR . 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 , 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 and HIP 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.