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

Add clang instructions for building Win64 julia #17223

Closed
wants to merge 1 commit into from

Conversation

Keno
Copy link
Member

@Keno Keno commented Jul 1, 2016

No description provided.

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
Copy link
Contributor

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

Copy link
Contributor

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

Copy link
Member Author

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.

Copy link
Contributor

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

@tkelman
Copy link
Contributor

tkelman commented Jul 1, 2016

I'd rather have this out of line as a separate bullet since it's not widely tested.

@Keno Keno changed the title Add clang instructions for building Wing64 julia Add clang instructions for building Win64 julia Jul 1, 2016
@Keno
Copy link
Member Author

Keno commented Jul 1, 2016

It's the only configuration that actually works at the moment. Following the instruction as is will get you a gcc that miscompiles LLVM.

@tkelman
Copy link
Contributor

tkelman commented Jul 1, 2016

I also consider msys2 effectively unsupported, but opensuse has upgraded to gcc 6 which fixed the issue with ipa-ra.

@tkelman tkelman added docs This change adds or pertains to documentation building Build system, or building Julia or its dependencies system:windows Affects only Windows labels Jul 2, 2016
@tkelman tkelman deleted the kf/wininstructions branch July 17, 2017 11:10
@tkelman
Copy link
Contributor

tkelman commented Jul 17, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies docs This change adds or pertains to documentation system:windows Affects only Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants