chore: split out nvidia variant

This commit is contained in:
Aiden McClelland
2026-03-02 16:04:53 -07:00
parent b1c533d670
commit 011a3f9d9f
12 changed files with 164 additions and 26 deletions

View File

@@ -25,6 +25,9 @@ pub fn platform_to_arch(platform: &str) -> &str {
if let Some(arch) = platform.strip_suffix("-nonfree") {
return arch;
}
if let Some(arch) = platform.strip_suffix("-nvidia") {
return arch;
}
match platform {
"raspberrypi" | "rockchip64" => "aarch64",
_ => platform,