Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
snnn committed Jan 13, 2024
1 parent 0894b9d commit be8787e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/ci_build/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -1524,11 +1524,11 @@ def generate_build_tree(
if compile_flag.startswith("/D"):
cudaflags.append(compile_flag)
else:
cuda_compile_flags_str =cuda_compile_flags_str + " " + compile_flag
if len(cuda_compile_flags_str) !=0:
cudaflags.append("-Xcompiler=\"%s\"" % cuda_compile_flags_str)
cuda_compile_flags_str = cuda_compile_flags_str + " " + compile_flag
if len(cuda_compile_flags_str) != 0:
cudaflags.append('-Xcompiler="%s"' % cuda_compile_flags_str)
elif is_linux() or is_macOS():
if is_linux():
if is_linux() and not args.use_rocm:
ldflags = ["-Wl,-Bsymbolic-functions", "-Wl,-z,relro", "-Wl,-z,now"]
else:
ldflags = []
Expand Down

0 comments on commit be8787e

Please sign in to comment.