mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
top-level/cuda-packages.nix: note Jetson is unsupported by redist for CUDA 12.3
Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
(cherry picked from commit 2714ae347a)
This commit is contained in:
@@ -173,7 +173,11 @@ let
|
||||
(
|
||||
final: _:
|
||||
{
|
||||
cuda_compat = runCommand "cuda_compat" { meta.platforms = [ ]; } "false"; # Prevent missing attribute errors
|
||||
# Prevent missing attribute errors
|
||||
# NOTE(@connorbaker): CUDA 12.3 does not have a cuda_compat package; indeed, none of the release supports
|
||||
# Jetson devices. To avoid errors in the case that cuda_compat is not defined, we have a dummy package which
|
||||
# is always defined, but does nothing, will not build successfully, and has no platforms.
|
||||
cuda_compat = runCommand "cuda_compat" { meta.platforms = [ ]; } "false";
|
||||
}
|
||||
// lib.packagesFromDirectoryRecursive {
|
||||
inherit (final) callPackage;
|
||||
|
||||
Reference in New Issue
Block a user