-
-
Notifications
You must be signed in to change notification settings - Fork 5.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
Add clang instructions for building Win64 julia #17223
Conversation
2. Set clang as your default compiler: | ||
``` | ||
cat > Make.user <<EOF | ||
override CC_ARG=--sysroot=$(HOME)/julia/usr/x86_64-w64-mingw32/sys-root/mingw -target x86_64-w64-mingw32 |
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.
don't assume $(HOME)/julia
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.
should also separate instructions for 32 vs 64 bit build
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.
Bullet 1 assumes $(HOME)/julia
, if people adjust this, that's their own business.
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.
only implicitly, if you assume people clone from home. should be more generalizable via pwd
I'd rather have this out of line as a separate bullet since it's not widely tested. |
It's the only configuration that actually works at the moment. Following the instruction as is will get you a gcc that miscompiles LLVM. |
I also consider msys2 effectively unsupported, but opensuse has upgraded to gcc 6 which fixed the issue with ipa-ra. |
closed because we're not actively supporting msys2 right now. there is a clang-cross package in cygwin these days but libgmp's build system is still broken with it |
No description provided.