Commit c775410f authored by Timo Rothenpieler's avatar Timo Rothenpieler

configure: pass windows-path to nvcc whenever cygpath is available

It might be using cl.exe on Windows, which does not understand Unix-Paths.
Signed-off-by: 's avatarTimo Rothenpieler <timo@rothenpieler.org>
parent 114ead97
......@@ -1030,7 +1030,10 @@ test_nvcc(){
log test_nvcc "$@"
cat > $TMPCU
log_file $TMPCU
test_cmd $nvcc -ptx $NVCCFLAGS "$@" $NVCC_C $(nvcc_o $TMPO) $TMPCU
tmpcu_=$TMPCU
tmpo_=$TMPO
[ -x "$(command -v cygpath)" ] && tmpcu_=$(cygpath -m $tmpcu_) && tmpo_=$(cygpath -m $tmpo_)
test_cmd $nvcc -ptx $NVCCFLAGS "$@" $NVCC_C $(nvcc_o $tmpo_) $tmpcu_
}
check_nvcc() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment