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.
This commit is contained in:
parent
a59c736495
commit
a3ac436cfb
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ attrsets.filterAttrs (attr: _: (builtins.hasAttr attr prev)) {
|
||||||
cuda_compat = prev.cuda_compat.overrideAttrs (
|
cuda_compat = prev.cuda_compat.overrideAttrs (
|
||||||
prevAttrs: {
|
prevAttrs: {
|
||||||
env.autoPatchelfIgnoreMissingDeps =
|
env.autoPatchelfIgnoreMissingDeps =
|
||||||
prevAttrs.env.autoPatchelfIgnoreMissingDeps + " libnvrm_gpu.so libnvrm_mem.so";
|
prevAttrs.env.autoPatchelfIgnoreMissingDeps + " libnvrm_gpu.so libnvrm_mem.so libnvdla_runtime.so";
|
||||||
# `cuda_compat` only works on aarch64-linux, and only when building for Jetson devices.
|
# `cuda_compat` only works on aarch64-linux, and only when building for Jetson devices.
|
||||||
brokenConditions = prevAttrs.brokenConditions // {
|
brokenConditions = prevAttrs.brokenConditions // {
|
||||||
"Trying to use cuda_compat on aarch64-linux targeting non-Jetson devices" =
|
"Trying to use cuda_compat on aarch64-linux targeting non-Jetson devices" =
|
||||||
|
|
Loading…
Reference in a new issue