Skip cross compile on setup.py development to build faster
@@ -416,6 +416,9 @@ def _nvcc_gencode_options(cuda_version):
options.append('--generate-code=arch={},code={}'.format(
arch, arch))
+ if sys.argv == ['setup.py', 'develop']:
+ return []
+ else:
return options
