Skip to content

Commit 27f884b

Browse files
committed
bump versions correctly
1 parent 8a2d055 commit 27f884b

2 files changed

Lines changed: 168 additions & 16 deletions

File tree

python/parts.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,14 @@ let
172172
'';
173173
autoPatchelfIgnoreMissingDeps = (old.autoPatchelfIgnoreMissingDeps or [ ]) ++ lib.optionals cudaSupport [ "libcuda.so.1" ];
174174
});
175+
torch-c-dlpack-ext = prev.torch-c-dlpack-ext.overrideAttrs (old:
176+
{
177+
nativebuildInputs = (old.nativebuildInputs or [ ]) ++ [ pkgs.autoAddDriverRunpath ];
178+
preFixup = (old.preFixup or "") + ''
179+
addAutoPatchelfSearchPath "${final.torch}"
180+
'';
181+
autoPatchelfIgnoreMissingDeps = (old.autoPatchelfIgnoreMissingDeps or [ ]) ++ lib.optionals cudaSupport [ "libcuda.so.1" ];
182+
});
175183
xgrammar = prev.xgrammar.overrideAttrs (old: {
176184
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.cmake pkgs.autoPatchelfHook ];
177185
});

0 commit comments

Comments
 (0)