Skip to content

FindCUDA: Add option to set CUDA_HOST_COMPILER via environment

peterjc123 requested to merge peterjc123/cmake:ccbin_override into master

Make it possible to override CUDA_HOST_COMPILER in FindCUDA.cmake through environmental variables. Previously it was only possible via a cache entry.

A required change for this PR: https://github.com/pytorch/pytorch/pull/11729.

Topic-rename: FindCUDA-ccbin-env

Edited by Brad King

Merge request reports