Skip to content

Commit a3ac436

Browse files
committed
Add ignore dependency for cuda_compat
After testing on a Jetson device, it turns out `cuda_compat` requires libnvdla_runtime.so which can't be satisfied by autoPatchElf, as it is provided by the runtime driver. This commit simply adds this library to the list of dependency to be ignored by autoPatchElf.
1 parent a59c736 commit a3ac436

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkgs/development/cuda-modules/cuda/overrides.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ attrsets.filterAttrs (attr: _: (builtins.hasAttr attr prev)) {
4545
cuda_compat = prev.cuda_compat.overrideAttrs (
4646
prevAttrs: {
4747
env.autoPatchelfIgnoreMissingDeps =
48-
prevAttrs.env.autoPatchelfIgnoreMissingDeps + " libnvrm_gpu.so libnvrm_mem.so";
48+
prevAttrs.env.autoPatchelfIgnoreMissingDeps + " libnvrm_gpu.so libnvrm_mem.so libnvdla_runtime.so";
4949
# `cuda_compat` only works on aarch64-linux, and only when building for Jetson devices.
5050
brokenConditions = prevAttrs.brokenConditions // {
5151
"Trying to use cuda_compat on aarch64-linux targeting non-Jetson devices" =

0 commit comments

Comments
 (0)