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

Add Manjaro CUDA include and lib dirs to Makefile #1212

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

JohannesGaessler
Copy link
Collaborator

I am using Manjaro and I installed CUDA via the package manager. The install location in my case is /opt/cuda which is also accessible via the environmental variable CUDA_PATH. However, the Makefile only uses the hard-coded location /usr/local/cuda to look up CUDA header files and libraries. Compiling with CUDA therefore does not run out-of-the-box on my machine.

This PR adds the paths that my CUDA install happens to be in to the Makefile. Alternatively it's possible to create a Makefile via cmake which automatically sets the correct include and lib directories for CUDA.

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