configure: cuda_llvm: fix include path for MSYS2 n4.2
authorRicardo Constantino <wiiaboo@gmail.com>
Mon, 5 Aug 2019 19:47:03 +0000 (20:47 +0100)
committerTimo Rothenpieler <timo@rothenpieler.org>
Mon, 5 Aug 2019 21:00:29 +0000 (23:00 +0200)
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.

Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
configure

index bddc05b..34c2adb 100755 (executable)
--- a/configure
+++ b/configure
@@ -6094,7 +6094,7 @@ fi
 if enabled cuda_nvcc; then
     nvccflags="$nvccflags -ptx"
 else
-    nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -include${source_link}/compat/cuda/cuda_runtime.h"
+    nvccflags="$nvccflags -S -nocudalib -nocudainc --cuda-device-only -include ${source_link}/compat/cuda/cuda_runtime.h"
     check_nvcc cuda_llvm
 fi