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

Get Windows Build Working #3

Open
wants to merge 1 commit into
base: iree_ep
Choose a base branch
from
Open

Get Windows Build Working #3

wants to merge 1 commit into from

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.

Signed-off-by: Garvey <zagarvey@amd.com>
@@ -28,23 +28,24 @@ target_link_libraries(onnxruntime_providers_iree PRIVATE
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