8af89d0875
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
24 lines
398 B
Nix
24 lines
398 B
Nix
{
|
|
buildRedist,
|
|
cudaAtLeast,
|
|
lib,
|
|
}:
|
|
buildRedist {
|
|
redistName = "cuda";
|
|
pname = "libnvjitlink";
|
|
|
|
outputs = [
|
|
"out"
|
|
"dev"
|
|
"include"
|
|
"lib"
|
|
"static"
|
|
]
|
|
++ lib.optionals (cudaAtLeast "12.2") [ "stubs" ];
|
|
|
|
meta = {
|
|
description = "APIs which can be used at runtime to link together GPU device code";
|
|
homepage = "https://docs.nvidia.com/cuda/nvjitlink";
|
|
};
|
|
}
|