We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4e0e2c commit 154f671Copy full SHA for 154f671
refresh.template.py
@@ -819,7 +819,7 @@ def _nvcc_patch(compile_args: typing.List[str]) -> typing.List[str]:
819
if ',' in arg: # Unpack NVCC's (fairly unique) comma-separated list format
820
if arg.startswith('-'):
821
option, did_partition, remainder = arg.partition('=')
822
- if did_partition:
+ if did_partition and not arg.startswith('-D'): # -D has a special -D=name=value case.
823
arg = remainder
824
else: # Must have been a one-character flag to have no = separator
825
option = arg[:2]
0 commit comments