Skip to content

Get Windows Build Working#3

Open
zjgarvey wants to merge 1 commit into
iree_epfrom
windows_build
Open

Get Windows Build Working#3
zjgarvey wants to merge 1 commit into
iree_epfrom
windows_build

Conversation

@zjgarvey

Copy link
Copy Markdown

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.

Signed-off-by: Garvey <zagarvey@amd.com>
onnx
protobuf::libprotobuf
)
if ( CMAKE_COMPILER_IS_GNUCC )

Copy link
Copy Markdown

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
Copy Markdown
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