Skip to content

Commit 912ad09

Browse files
authored
Correct TORCH_MLIR_ENABLE_WERROR_FLAG help text (#4153)
The option enables the `-Werror` compiler flag, which turns warnings into errors, not errors into warnings.
1 parent fbbd474 commit 912ad09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ include(CMakeDependentOption)
3131
# Project options
3232
#-------------------------------------------------------------------------------
3333

34-
option(TORCH_MLIR_ENABLE_WERROR_FLAG "Enable `-Werror` flag on supported directories, treat error as warning" OFF)
34+
option(TORCH_MLIR_ENABLE_WERROR_FLAG "Enable `-Werror` flag on supported directories, treat warning as error" OFF)
3535
option(TORCH_MLIR_USE_INSTALLED_PYTORCH "If depending on PyTorch use it as installed in the current Python environment" ON)
3636

3737
option(TORCH_MLIR_ENABLE_REFBACKEND "Enable reference backend" ON)

0 commit comments

Comments
 (0)