-
Notifications
You must be signed in to change notification settings - Fork 16
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 compiler flags for mingw64 #18
Conversation
Thanks for the patch! Just let me know if you have suggestions on how to fix conf-blas/lapack for your platform. |
Regarding conf-blas, I am still fighting with opam: I have added a shell script to determine the correct compiler (see here), like it has been done for conf-gmp, but opam does not copy |
I'm not sure exactly either how it is supposed to work, but I have found an example in
Something like this might be worth trying. |
Thanks for the hint, conf-blas & conf-lapack are now "building" successfully on my Windows machine. I am not sure where to send the PR: My repo is cloned from |
@kkirstein Not sure, but it's probably easiest to just clone the Yes, I always run |
Oh, I see, I thought you had already tried the very latest release. 8.1.1 addressed your particular problem. Glad to know it works on your platform now. It's already released. |
mingw64 does not support
nanosleep()
, so we have to takeSleep()
from the win-api (include windows.h via -DWIN32).Currently the dependencies conf-blas & conf-lapack don't build on my cygwin/mingw64 box, but a fix should be easy...
I did not include
setup.ml
,configure
, etc. in this PR, as on windowsoasis setup
introduces some backslashes in pathnames, which most probably breaks building on Linux.