mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 04:02:55 +03:00
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 New Issue
Block a user