Skip to content

Commit ae324ee

Browse files
anmyachevalexbaden
authored andcommitted
Temporary enable TRITON_SUPPRESS_GCC_HOST_CODE_DEPRECATION_WARNINGS by default (#4475)
(cherry picked from commit 0c02681)
1 parent 6f34de4 commit ae324ee

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
@@ -96,7 +96,7 @@ def _build(name: str, src: str, srcdir: str, library_dirs: list[str], include_di
9696
else:
9797
if os.name != "nt":
9898
extra_compile_args += ["--std=c++17"]
99-
if os.environ.get("TRITON_SUPPRESS_GCC_HOST_CODE_DEPRECATION_WARNINGS"):
99+
if os.environ.get("TRITON_SUPPRESS_GCC_HOST_CODE_DEPRECATION_WARNINGS", "1") == "1":
100100
extra_compile_args += ["-Wno-deprecated-declarations"]
101101
if os.name == "nt":
102102
library_dirs = library_dirs + [

0 commit comments

Comments
 (0)