Skip to content

Commit 2705442

Browse files
authored
[Windows] Non-inplace like update library_dir list in _build function (#3066)
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent bf9abf7 commit 2705442

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/triton/runtime/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def _build(name, src, srcdir, library_dirs, include_dirs, libraries, extra_compi
9292
else:
9393
extra_compile_args += ["--std=c++17"]
9494
if os.name == "nt":
95-
library_dirs += [os.path.join(sysconfig.get_paths(scheme=scheme)["stdlib"], "..", "libs")]
95+
library_dirs = library_dirs + [os.path.join(sysconfig.get_paths(scheme=scheme)["stdlib"], "..", "libs")]
9696
else:
9797
cc_cmd = [cc]
9898

0 commit comments

Comments
 (0)