Skip to content

Notify CMake on Windows about CUDA #1

Description

@Haydnspass

Hey,

Thanks for your awesome Github action! My question might be a bit out of scope of this repo, but I wonder whether you could still help me.
I am trying to build something on windows and ubuntu and need nvcc for that. The build process is like:
conda-build --> ptyhon setup.py --> CMake --> nvcc

Locally, the build runs fine, but I wonder how I can tell CMake the CUDACXX on a windows runner?
If you want to have a look, you can find the workflow below. I tried setting the CUDACXX via powershell but CMake does not find it.
Any ideas?

https://github.com/TuragaLab/SplinePSF/blob/9aa4e4569fce8550a7b22295191447f88ee592e9/.github/workflows/build_upload_test.yaml#L54-L80

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions