build CUDA Windows : detection + reparation de l'integration Visual Studio de CUDA manquante (erreur cryptique 'No CUDA toolset found', issue #10) - verif avant cmake via vswhere, copie auto des MSBuildExtensions du toolkit si possible, sinon message clair avec les 2 solutions ; filet dans hintMissingBuildDep

This commit is contained in:
nathaninline committed 2026-07-22 12:24:33 +02:00
1 parent 48c3e807be
commit 4fea700edc
3 files changed
+89

No files matched your search

+4
View File
@@ -175,6 +175,10 @@ func ensureCompiler() error {
// nothing extra to inject.
func cudaPathEnv(toolkitDir string) []string { return nil }
// ensureCudaVSIntegration is Windows-specific (MSBuild CUDA integration check);
// no-op on Unix.
func ensureCudaVSIntegration(toolkitDir string) error { return nil }
// ensureAccelerator is a no-op on Unix: CUDA/ROCm toolkits are installed through
// the distro (their layout is already probed by findNvcc / detectBuildPlan), and
// auto-installing multi-GB GPU toolkits across distros is too varied to do safely.