-
Notifications
You must be signed in to change notification settings - Fork 99
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
Fix: add wait when linking library with *.resp file #808
Conversation
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.
Looks good to me.
Thanks @zoziha, however I'm a little confused. I thought the default for |
@LKedward , I agree with your point of view, I think this PR has no substantial progress, it is recommended to close. Sorry that I was wrong. The cause of |
No need to apologise! I appreciate you looking into this issue @zoziha , I have also noticed it still cropping up sporadically (though less frequently than before).
This seems like it would be a good idea! We just need to be careful that other parts of fpm don't rely on Another option could be to use |
Thanks for the reply @LKedward , I think this is a known problem on Windows, we should probably do additional processing based on the @awvwgk , do you have any good suggestions for this? |
I returns I tried to delete the The extra way is to add a subroutine that calls the shell's |
Is this patch ready to go? |
Since #807 only happens on Windows OS, I think it might be a good decision to use preprocessing to declare a unique By the way, I think this PR has nothing more to submit, it is ready to go. |
Description
Fix #807 .
Linking the link library takes a while, the*.resp
file is occupied, iffpm
delete theresp
file without waiting for linking to complete, we will get an error, this PR intends to fix it.OMP critical
;Add wait for linking.delete_file_win32
.