MSYS2 converts paths to MinGW-based applications from unix to pseudo-windows paths on execution time. Since there was no space between '-include' and the path, MSYS2 doesn't detect the path properly.
Unified · Split
| @@ -6094,7 +6094,7 @@ fi · 6093 unmodified lines | |||
| 6094 | if enabled cuda_nvcc; then | 6094 | if enabled cuda_nvcc; then |
| 6095 | nvccflags="$nvccflags -ptx" | 6095 | nvccflags="$nvccflags -ptx" |
| 6096 | else | 6096 | else |
| 6097 | nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -include${source_link}/compat/cuda/cuda_runtime.h" | 6097 | nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -include ${source_link}/compat/cuda/cuda_runtime.h" |
| 6098 | check_nvcc cuda_llvm | 6098 | check_nvcc cuda_llvm |
| 6099 | fi | 6099 | fi |
| 6100 | 6100 | ||