mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
monado: do not use cudatoolkit, use cuda_nvcc+cuda_cudart
(cherry picked from commit 1546f04d1e)
This commit is contained in:
committed by
github-actions[bot]
parent
40bcb07cd9
commit
006e36e687
@@ -143,6 +143,10 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
]
|
||||
++ lib.optionals tracingSupport [
|
||||
tracy
|
||||
]
|
||||
++ lib.optionals enableCuda [
|
||||
cudaPackages.cuda_nvcc
|
||||
cudaPackages.cuda_cudart
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
@@ -151,7 +155,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.cmakeBool "XRT_FEATURE_TRACING" tracingSupport)
|
||||
(lib.cmakeBool "XRT_OPENXR_INSTALL_ABSOLUTE_RUNTIME_PATH" true)
|
||||
(lib.cmakeBool "XRT_HAVE_STEAM" true)
|
||||
(lib.optionals enableCuda "-DCUDA_TOOLKIT_ROOT_DIR=${cudaPackages.cudatoolkit}")
|
||||
];
|
||||
|
||||
# Help openxr-loader find this runtime
|
||||
|
||||
Reference in New Issue
Block a user