mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-06 11:52:17 +00:00
c72c975c16
* add nvidia-kmod * add settings, xsettings, mock label * oops * add nvidia setting assets * add libva-nvidia-driver * add: nvidia-kmod-common w/ properietary defaults * download the x86 version of the driver package when running common * add nvidia-driver package * I don't think we actually need i386 * add a readme, fix build error and clean up script * add back the accursed tarball script, we can port the thing later * add nvidia-modprobe * update metadata, add nvidia-persistenced * add update scripts to nvidia drivers * add update scripts for every cuda package * make the component fetch a separate function for memoization * cusparse * cusparselt is not from cuda toolkit * add nvidia subrepo label for multirepo * set version for nvidia tarball * nvidia-driver: download tarballs on build time * clean up inline prep script * NVProf is dropped in Jetpack 5, so there's no ARM version of it.
18 lines
663 B
Plaintext
18 lines
663 B
Plaintext
// NVIDIA website parser module
|
|
// This module is used to parse the NVIDIA website for the latest driver version
|
|
|
|
fn nvidia_component_list() {
|
|
let series = "12.6.3";
|
|
let url = `https://developer.download.nvidia.com/compute/cuda/redist/redistrib_${series}.json`;
|
|
return get(url).json();
|
|
}
|
|
fn nvidia_component_version(component) {
|
|
let components = nvidia_component_list();
|
|
return components[component]["version"];
|
|
}
|
|
|
|
fn nvidia_driver_version() {
|
|
let matches = find_all(`(?m)^\s+<span class='dir'><a href='([\d.]+)/'>[\d.]+/</a></span>`, get("https://download.nvidia.com/XFree86/Linux-x86_64/"));
|
|
return(matches[matches.len() - 1][1]);
|
|
}
|