Skip to content

Commit edb427a

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] fix CUDA build with NVCC_FLAGS in env (#8692)
Reviewed By: vmoens Differential Revision: D68021988 fbshipit-source-id: b730d0749271b8dd3d28ee33459f0f9644c20362
1 parent 62fa5ee commit edb427a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def get_macros_and_flags():
127127
if NVCC_FLAGS is None:
128128
nvcc_flags = []
129129
else:
130-
nvcc_flags = nvcc_flags.split(" ")
130+
nvcc_flags = NVCC_FLAGS.split(" ")
131131
extra_compile_args["nvcc"] = nvcc_flags
132132

133133
if sys.platform == "win32":

0 commit comments

Comments
 (0)