Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable -Werror in lib/ and LTC. #2841

Merged
merged 7 commits into from
Jan 31, 2024
Merged

Enable -Werror in lib/ and LTC. #2841

merged 7 commits into from
Jan 31, 2024

Conversation

stellaraccident
Copy link
Collaborator

@stellaraccident stellaraccident commented Jan 31, 2024

Required some massaging of LTC to make it warning clean, and I had to manually disable some warnings on the generated source files (which we don't control).

The project is warning clean now.

The -Werror flag is disabled by default as we can't control everywhere people will try to build/install. The CI enables it via -DTORCH_MLIR_ENABLE_WERROR_FLAG=ON.

@stellaraccident stellaraccident changed the title Enable -Werror in lib. Enable -Werror in lib/ and LTC. Jan 31, 2024
@stellaraccident stellaraccident merged commit 7301aa8 into main Jan 31, 2024
3 checks passed
@stellaraccident stellaraccident deleted the enable_werror branch January 31, 2024 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant