summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Constantino <wiiaboo@gmail.com>2019-08-05 20:47:03 +0100
committerTimo Rothenpieler <timo@rothenpieler.org>2019-08-05 22:54:39 +0200
commit5ac28e9cc19069a104f5534dcf603218066d144c (patch)
tree567bc3b5c052e092b85e7887f1db95b1f10605d7
parentbe4fb282f9fb00d9c267dcc477745e2e468e758f (diff)
configure: cuda_llvm: fix include path for MSYS2
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>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index bddc05b850..34c2adb4a4 100755
--- 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