Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,932
    • Issues 3,932
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 18
    • Merge requests 18
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Repository
Switch branch/tag
  • cmake
  • Modules
  • FindCUDA.cmake
Find file BlameHistoryPermalink
  • Edward Z. Yang's avatar
    FindCUDA: Make nvcc configurable via CUDA_NVCC_EXECUTABLE env var · 23119366
    Edward Z. Yang authored Mar 28, 2018 and Brad King's avatar Brad King committed Mar 29, 2018
    
    
    This is useful if, for example, you want ccache to be used
    for nvcc.  With the current behavior, cmake always picks up
    /usr/local/cuda/bin/nvcc, even if there is a ccache nvcc
    stub in the PATH.  Allowing for CUDA_NVCC_EXECUTABLE lets
    us work around the problem.
    Signed-off-by: default avatarEdward Z. Yang <ezyang@fb.com>
    23119366