Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set CUDA_INSTALL_DIR if it is not set by cmake build command #798

Merged
merged 1 commit into from
Mar 19, 2021

Conversation

npanpaliya
Copy link

Changed the way CUDA_INSTALL_DIR is being set in the CMakeLists files. It should be set to /usr/local/cuda only if it is not set to the specific directory explicitly. For e.g. In case of conda builds, usually cuda is installed at $CONDA_PREFIX, so if we specify the CUDA_INSTALL_DIR through cmake argument -DCUDA_INSTALL_DIR, it should be used instead of the default one.

@rajeevsrao
Copy link
Collaborator

@npanpaliya please sign the commit.

@npanpaliya
Copy link
Author

@rajeevsrao - I've pushed the signed commit.

@rajeevsrao rajeevsrao merged commit e724d31 into NVIDIA:master Mar 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants