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

rename direct header to avoid windows conflict #979

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

xoviat
Copy link
Collaborator

@xoviat xoviat commented Jan 28, 2021

No description provided.

@xoviat
Copy link
Collaborator Author

xoviat commented Jan 28, 2021

cc @kiranchandramohan

Copy link
Collaborator

@kiranchandramohan kiranchandramohan left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for this patch. There is some renewed interest in supporting windows.

Can you add a bit more info to the commit message, like for e.g. "direct.h is a system header in windows providing functions for manipulating filesystem directories"?

Merge process requires someone to test on Aarch64 and X86_64. So will need approval from @shivaramaarao. And because we do not have windows machines at least one member from the windows community to approve. Have added @isuruf, also checking with another person whether he can help review from the windows side.

@kaadam
Copy link
Collaborator

kaadam commented Jan 28, 2021

Yes, direct header is one of C run time libraries on Windows, so it needs to rename it. LGTM (from Windows side).

@kaadam kaadam requested review from kaadam and removed request for kaadam January 28, 2021 13:39
@xoviat
Copy link
Collaborator Author

xoviat commented Jan 28, 2021

Note: the only windows person you need approval from is me because I am the person who has flang working on windows. But isuruf can vouch for me.

@kiranchandramohan
Copy link
Collaborator

Thanks @xoviat for the clarification.

@kaadam is also working on windows support in flang, and I think he has also got it working. I believe he has his own patches and some from #464. He is also interested in upstreaming. I believe he has some questions on how to co-ordinate.

@kaadam
Copy link
Collaborator

kaadam commented Jan 28, 2021

@xoviat we're also working on Windows support of Flang. We managed to build Flang on Windows X64, and compile some small example with it. For that we applied some changes from @isuruf / #288 / and extend them with ours. Our aims is also upstream our fixes if it doesn't conflict with your PRs @xoviat.

@xoviat
Copy link
Collaborator Author

xoviat commented Jan 28, 2021

@kaadam Do you have a github branch? You can see what I have at https://github.com/xoviat/flang/tree/windows. The only addition I made was to add a driver so that I don't have to build a custom clang.

@xoviat
Copy link
Collaborator Author

xoviat commented Jan 28, 2021

Obviously I cannot just submit the entire patch at once, which is why I am submitting patches from a different branch.

@kaadam
Copy link
Collaborator

kaadam commented Jan 28, 2021

@xoviat Yes, here it is my WIP branch, it is a draft: https://github.com/kaadam/flang/tree/windows
All in all I can help to test or review changes, if it is necessary.

direct.h is a system header in windows
providing functions for manipulating filesystem directories
@xoviat
Copy link
Collaborator Author

xoviat commented Jan 28, 2021

I updated the commit message. @kaadam I will continue to submit PRs, and you can review them for compatibility with your changes.

Copy link
Collaborator

@bryanpkc bryanpkc left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@kaadam
Copy link
Collaborator

kaadam commented Feb 1, 2021

@kiranchandramohan @bryanpkc Are we waiting for one more approval, or could we land this?

@kiranchandramohan
Copy link
Collaborator

We require approval from @shivaramaarao for x86_64.

@kiranchandramohan kiranchandramohan merged commit 8afbdfb into flang-compiler:master Feb 1, 2021
@xoviat xoviat deleted the windows-working branch February 1, 2021 14:39
@kaadam kaadam added the windows Add this to all windows specific issues or PRs label Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Add this to all windows specific issues or PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants