Skip to content

Conversation

zjgarvey
Copy link

This PR modifies the cmake options to conditionally exclude some -Wno-something flags which cause problems with the windows build, makes some small changes to jit_compiler.cc to avoid other compiler errors on windows, and adds instructions for building on windows to the README.md.

onnx
protobuf::libprotobuf
)
if ( CMAKE_COMPILER_IS_GNUCC )

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This variable appears to be deprecated in newer releases of CMake, so we might want to replace it with some newer alternative like CMAKE_C_COMPILER_ID.

Would you want this code to run only for GCC? Is there a reason for this?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, the flags here aren't recognized on windows cl. I'll look for a modern alternative to this.

vinayakdsci pushed a commit to vinayakdsci/onnxruntime that referenced this pull request Sep 10, 2024
…oft#21528)

### Description
Security fuzz test with address sanitizer found several bugs
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.

2 participants