[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Finishing the ROCm 6 update and few other stuffs I explored



Le 28/02/2025 à 05:17, M. Zhou a écrit :

Would you mind elaborating the lapack rebuild? I can help with that.

If I remind well
I had some build failure on upstream ROCm when using
lapack 3.12.1 from trixie

So i had to reuse the ubuntu build instruction you can find scripted for debian Dockerfile here

https://github.com/cbayle/ROCm/blob/debian-build/tools/rocm-build/docker/debian13/build_lapack.sh

that use a older lapack but may also have some different build option

cmake -H$lapack_srcdir -B$lapack_blddir -DCMAKE_BUILD_TYPE=Release -DCMAKE_Fortran_FLAGS=-fno-optimize-sibling-calls -DBUILD_TESTING=OFF -DCBLAS=ON -DLAPACKE=OFF

I think it has to do with fortran, but not sure

I had a look at the lapack rules file, awfully complicated for me to understand what is the problem and sorry not to be able to provide a reproductible build failure, but ROCm requires days of build for my computer :-(
Any suggestion of usable debian killer hardware welcome ;-)

If you see obvious change i can try to rebuild removing the specific lapack


My idea is that if we can have upstream building with pure debian,
this would on one way simplify the AMD build process and on the other side help us to package.


Cheers

Christian






Reply to: