diff options
author | Matt Oliver <protogonoi@gmail.com> | 2021-02-13 02:59:42 +1100 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2021-02-22 17:07:30 +0100 |
commit | 52cc323735ced6e8095cfd3acea0e36e35c76eb2 (patch) | |
tree | da6e90364c88cb792c60e734f6b931e49d168000 /configure | |
parent | b57037d663415338b3684f0e6164acca92f0d94a (diff) |
configure: use no-narrowing for cuda-llvm compilation
This fixes llvm compiler generating errors about narrowing conversion with
recent releases.
Signed-off-by: Timo Rothenpieler <timo@rothenpieler.org>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -6243,7 +6243,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 -Wno-c++11-narrowing -include ${source_link}/compat/cuda/cuda_runtime.h" check_nvcc cuda_llvm fi |