-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Many fixes to get unit tests passing on Windows. #7431
Conversation
python/tvm/contrib/cc.py
Outdated
cmd = ["clang"] | ||
cmd += ["-O2", "-flto=full", "-fuse-ld=lld-link"] | ||
cmd += ["-O2", "-v", "-fvisibility=default", "-export-all-symbols"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we check if we need -export-all-symbols
after #6698? I believe we should have marked the life scopes correctly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, there are some debug flags in there too, -v. That line needs to be cleaned up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, thanks, please add a comment about the need of debug flags there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The current code in the PR only has the flag -O2
. The other flags are not required.
CUDA tests passing on Windows.
CUDA tests passing on Windows.
Thanks @rkimball ! |
Not everything passes, but much more passes than used to.