From: Roland Mas <lolando@debian.org>
Date: Thu, 14 Oct 2021 15:31:34 +0200
Subject: Pass -g to nvcc

---
 setup.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup.py b/setup.py
index 978a767..c6d5a8a 100644
--- a/setup.py
+++ b/setup.py
@@ -81,7 +81,7 @@ def locate_cuda():
             libdir = pjoin(home, 'lib64')
         else:
             libdir = pjoin(home, 'lib')
-        extra_compile_args = ['-O3', '--ptxas-options=-v', '-std=c++11',
+        extra_compile_args = ['-O3', '-g', '--ptxas-options=-v', '-std=c++11',
                               '--compiler-options=-fPIC',
                               f'-DVKFFT_MAX_FFT_DIMENSIONS={VKFFT_MAX_FFT_DIMENSIONS}']
         extra_link_args = ['--shared', '-L%s' % libdir]
