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

Re: Finishing the ROCm 6 update: ROCm-DOCS-CORE



Hello,

Trying to build some of the rocm stuff, i've seen, we have a lot to patch to have docs, so I decided to investigate rocm-docs-core, if i cam make things easiest, and i've seen its a missing one in the upstream docker build.

Good news: a lot of python stuff are already there:
 python3-pydata-sphinx-theme,
 python3-git,
 python3-fastjsonschema,
 python3-github,
 python3-yaml,
 python3-myst-nb,
 python3-sphinx-notfound-page,
 python3-sphinx-copybutton
 python3-sphinx-design
 python3-sphinx-book-theme

I had problem with experimental graphviz (for /usr/bin/dot) didn't investigate further
I had some URW font problems, maybe with some experimental stuffs

Bad news some are lacking and it's no enough to make it work
- python3-doxysphinx (dh_make -c expat --python -f doxysphinx_3.3.12.orig.tar.gz also allow a dirty package)
- python3-sphinx-external-toc (py2dsp make a quick dirty package)

not wnpp, python guys go on ! :-)

and even if I manage to build the demo, it fails on the package documentation, and also on the ROCm/ROCm tha require internet access and hacky venv


If you just want to try to fix, i think it's some bug in the doc

cat docs/sphinx/_toc.yml.in | sed "s!\"{url}\"!\"$(URL)\"!" | tee ./debian/_toc.yml.in

PYTHONPATH=.:build/lib:src python3 -m sphinx \
	   -T -E -b html -d _build/doctrees \
	   -D language=en \
	   -D external_toc_path="../debian/_toc.yml" \
	   docs _build/html

and all the deps should build at least the demo

here is the full log : https://paste.debian.net/1361690/
if someone has a clear view of what is going wrong

I will try to make this package in a relative good shape to upload
and will see for the 2 missing packages if there is a sphinx team ;-)

The good side is that it looks relatively independant of the rocm version
I tried a downgrade to a version of the 6.1
I'll push some on going work in the https://salsa.debian.org/rocm-team

last question to see if you went there, what do you think of having

https://salsa.debian.org/rocm-team/6.1
https://salsa.debian.org/rocm-team/6.2
https://salsa.debian.org/rocm-team/6.3

Subgroups ?

Cheers

Christian


Le 05/03/2025 à 02:32, Christian BAYLE a écrit :
Hello,

Some progress, I put all in gitlab-ci, as i was bored with my slow toaster.
You can find some links bellow to see what happens

Le 22/02/2025 à 07:19, Cordell Bloor a écrit :
Hi guys,

We really need to get rocm-hipamd uploaded if we're going to have any chance of getting everything migrated to LLVM 18 before Trixie. I think it is still possible, and I am willing to make a big push to get there. However, it's going to require a fair number of sponsored uploads to get packages into NEW:

- src:rocm-hipamd (libamdhip64-6)
https://salsa.debian.org/bayle/rocm-hipamd/-/jobs/7199371
copyright should be ok
autopkgtest / piuparts / reprotest are failing


- src:rocm-llvm (rocm-device-libs-18)
WIP Rediffed the patch
I mixed FOR 6.1.2 Xuanteng and Christian K. made the job
just checked  it's almost green
https://salsa.debian.org/bayle/rocm-llvm/-/pipelines/827065

FOR 6.3.3, I rediffed rocm-hipamd hipsparse rocsparse,
what is rather useless except to do some gbp exercise
and see it's useless :-(



- src:rocblas (librocblas4)
- src:hipblas (libhipblas1)

- src:rocsparse (librocsparse1)
https://salsa.debian.org/bayle/rocsparse/-/jobs/7199378

- src:hipsparse (libhipsparse1)
https://salsa.debian.org/bayle/hipsparse/-/jobs/7199404
Will probably fail until rocsparse is uploaded

- src:hiprand








Reply to: