Bug#960981: ITP: rocr-runtime -- HSA Runtime API and runtime for ROCm

Mo Zhou lumin at debian.org
Tue May 19 13:26:01 BST 2020


On Tue, May 19, 2020 at 08:41:47PM +0900, Norbert Preining wrote:
> > Packaging ROCm requires a forked LLVM.  Will you package that fork, and
> 
> Thanks for bringing this up. Up to now all the ITP don't require the
> forked llvm. We have one repository (rocm-hip) in preparation for which
> the llvm-fork is necessary. And there are other's I am preparing.
> 
> Our plan (at the moment basically Mo Zho and me) was to package it into
                                          ^
                                          u

> a separate directory /usr/lib/llvm/roc/ (like Gentoo does) or into any
> similar place.

Yes. Aligning with Gentoo looks good, as long as we really need an
forked LLVM.

Benda Xu (gentoo dev) told me that his latest investigation suggests
that AMD's modifications have been upstreamed. But no AMD people
responded the question.
https://github.com/RadeonOpenCompute/hcc/issues/1421

We'll have to confirm that.
 
> But I am more than open for help with the llvm-roc build, since this not
> even finishes on my computer without blowing it up ATM ...

My experience is that LLVM build often ends up being killed by the OOM
killer, and I can only use -j4 on a machine with 32Gigs of RAM.
The "-gsplit-dwarf" CFLAG may help when doing the parellel linking, but
I still have not tried it with LLVM yet.

> PREINING Norbert                              https://www.preining.info
> Accelia Inc. + IFMGA ProGuide + TU Wien + JAIST + TeX Live + Debian Dev
> GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13



More information about the Pkg-llvm-team mailing list