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,873
    • Issues 3,873
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 20
    • Merge requests 20
  • 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
  • Merge requests
  • !1899

FindCUDA: nvcc configurable via CUDA_NVCC_EXECUTABLE envvar

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Edward Z. Yang requested to merge ezyang/cmake:pr/cuda-nvcc-executable-env into master Mar 28, 2018
  • Overview 10
  • Commits 1
  • Pipelines 4
  • Changes 1

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: Edward Z. Yang ezyang@fb.com
Topic-rename: FindCUDA-nvcc-executable-env

Edited Mar 29, 2018 by Brad King
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: pr/cuda-nvcc-executable-env