mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
basalt-monado: do not use cudatoolkit, use cuda_nvcc
(cherry picked from commit a7575e30df)
This commit is contained in:
committed by
github-actions[bot]
parent
8edc9a3568
commit
40bcb07cd9
@@ -60,13 +60,15 @@ stdenv.mkDerivation {
|
||||
opencv.cxxdev
|
||||
tbb
|
||||
xorg.libX11
|
||||
]
|
||||
++ lib.optionals enableCuda [
|
||||
cudaPackages.cuda_nvcc
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "BASALT_INSTANTIATIONS_DOUBLE" false)
|
||||
(lib.cmakeBool "BUILD_TESTS" false)
|
||||
(lib.cmakeFeature "EIGEN_ROOT" "${eigen}/include/eigen3")
|
||||
(lib.optionals enableCuda "-DCUDA_TOOLKIT_ROOT_DIR=${cudaPackages.cudatoolkit}")
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
Reference in New Issue
Block a user