mirror of
https://github.com/R0m1k3/Loki.git
synced 2026-10-21 14:08:11 +02:00
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:
1 parent
48c3e807be
commit
4fea700edc
3 files changed
+89
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user