forked from mirrors/nixpkgs
cuda-library-samples.cutensor: fix
Previously, the cutensor samples could not find the libcutensor.so.1 shared library at runtime. This patch adds cutensor as a buildInput so the shared library is linked in properly.
This commit is contained in:
parent
c5432c121e
commit
4784cdb28b
|
@ -54,6 +54,8 @@ in
|
|||
|
||||
src = "${src}/cuTENSOR";
|
||||
|
||||
buildInputs = [ cutensor ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DCUTENSOR_EXAMPLE_BINARY_INSTALL_DIR=${builtins.placeholder "out"}/bin"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue