Debian Patches

Status for rccl/7.2.4-1~exp2

Patch Description Author Forwarded Bugs Origin Last update
0001-disable-upstream-package-logic.patch disable upstream package logic Cordell Bloor <cgmb@slerp.xyz> not-needed 2022-10-25
0003-use-local-mathjax.patch use local mathjax
The sphinx.ext.mathjax extension defaults to loading mathjax from a
CDN, which results in the lintian warning 'privacy-breach-generic'.
Use a local copy of mathjax to prevent that problem.
Cordell Bloor <cgmb@slerp.xyz> not-needed 2024-02-16
fix-install-libdir.patch fix install libdir
instead of /usr/lib/<arch>. Seems that this was added upstream
unintended by commit d34a38ccfcfa159346e799eeec69123be0bafa49
Bojan Aleksovski <bojan.aleksovski@canonical.com> yes 2026-02-09
rccl-launchpad-build-fix.patch Fix rccl launchpad amd64 and amd64v3 build hangs Launchpad fails when building rccl on amd64 and amd64v3 while arm64 and
local builds are completely fine. It builds until the final link stage,
then it hangs and resets. On the second try it fails without any build log.
This is likely due to the fact that the link stage is very resource
intensive (https://github.com/ROCm/rocm-systems/issues/3086) and the
builders are limited, probably running out of memory and crashing.
In 7.1.0 we had gfx908 and gfx90a removed from the ISAs list and left only
gfx1201 because it was the only ISA that managed to get built.
In 7.1.1 with the fixes and improvements even gfx1201 does not build thus
adding this patch and attempting to fix the core issue.

Upstream states that the device LLD has three knobs
(https://github.com/ROCm/rocm-systems/commit/988c7d509c88b60096ce45e1cd7afd61fd6c593e)
that the amdclang++ driver populates with defaults
(--lto-partitions=8, -plugin-opt=O1, --lto-CGO1).
Examining build logs from Launchpad, these flags are
(--lto-partitions=8, -plugin-opt=O3, --lto-CGO3)

With this patch we are setting the flags to the defaults as per upstream and
additionally lowering the --lto-partitions to 1 due to our limited resources
on the builders.


diff --git a/CMakeLists.txt b/CMakeLists.txt
index c8281f2..db4d98c 100644
Bojan Aleksovski <bojan.aleksovski@canonical.com> not-needed 2026-04-16

All known versions for source package 'rccl'

Links