mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +00:00
[Hardware/AMD/ROCm] fix clr's localGpuTargets and disable rocdbgapi's docs
This commit is contained in:
parent
d55f10cef1
commit
dd33fbd4f8
1 changed files with 2 additions and 1 deletions
|
|
@ -108,7 +108,8 @@ in {
|
|||
nixpkgs.overlays = mkIf (! isNull localCfg.gpuTargets) (mkBefore [(final: prev: {
|
||||
#rocmPackages_5 = final.rocmPackages;
|
||||
rocmPackages = prev.rocmPackages // {
|
||||
clr = prev.rocmPackages.clr.override { localGpuTargets = localCfg.gpuTargets; };
|
||||
clr = prev.rocmPackages.clr.override { localGpuTargets = lib.forEach localCfg.gpuTargets (target: "gfx${target}"); };
|
||||
rocdbgapi = prev.rocmPackages.rocdbgapi.override { buildDocs = false; };
|
||||
# (oldAttrs: {
|
||||
# passthru = oldAttrs.passthru // {
|
||||
# # We cannot use this for each ROCm library, as each defines their own supported targets
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue