Skip to content

Commit

Permalink
add fno-gnu-unique
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischoy committed Jun 15, 2021
1 parent 4530de9 commit 1d8427e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,10 +285,10 @@ def _argparse(pattern, argv, is_flag=True, is_list=False):

if debug:
CC_FLAGS += ["-g", "-DDEBUG"]
NVCC_FLAGS += ["-g", "-DDEBUG"]
NVCC_FLAGS += ["-g", "-DDEBUG", "-Xcompiler=-fno-gnu-unique"]
else:
CC_FLAGS += ["-O3"]
NVCC_FLAGS += ["-O3"]
NVCC_FLAGS += ["-O3", "-Xcompiler=-fno-gnu-unique"]

if "MAX_JOBS" not in os.environ and os.cpu_count() > MAX_COMPILATION_THREADS:
# Clip the num compilation thread to 8
Expand Down

0 comments on commit 1d8427e

Please sign in to comment.