Skip to content

Commit 132a7e4

Browse files
committed
Disable compilation warning psapi
Signed-off-by: Gregory Shimansky <[email protected]>
1 parent 5b38c1e commit 132a7e4

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
@@ -37,7 +37,7 @@ def _cc_cmd(cc, src, out, include_dirs, library_dirs, libraries):
3737
cc_cmd += [f"/LIBPATH:{dir}" for dir in library_dirs]
3838
cc_cmd += [f'{lib}.lib' for lib in libraries]
3939
else:
40-
cc_cmd = [cc, src, "-O3", "-shared"]
40+
cc_cmd = [cc, src, "-O3", "-shared", "-Wno-psabi"]
4141
if os.name != "nt":
4242
cc_cmd += ["fPIC"]
4343
cc_cmd += [f'-l{lib}' for lib in libraries]

0 commit comments

Comments
 (0)