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

OS X - default OS to macosx instead of darwin #1209

Merged
merged 1 commit into from
Nov 16, 2015

Conversation

smolt
Copy link
Member

@smolt smolt commented Nov 12, 2015

Not mean to be the end all as other darwin targets are coming along. But this makes everything better with Xcode 7. In particular, OS X ld in Xcode 7 warns when default LLVM triple with OS darwin is used because the darwin default version (x86_64-apple-darwin14.5.0 on my box) is greater than OS X version. More work has to be done for specifying OS min versions and such. Hope this is ok for now.

For background: http://forum.dlang.org/post/[email protected]

On OS X, the OS in Triple should be macosx, not darwin.  This is not
comprehensive like clang which has a bunch of darwin to other OS
translation rules, but since only Darwin target currently supported is
OS X, this does the job.
@smolt
Copy link
Member Author

smolt commented Nov 13, 2015

Why doesn't core.thread fail in Travis CI for OS X RELEASE? It must not be using multiple real CPUs? I still always get a SEGV due to #666 when I run tests against master. BTW, I'd like to fix that with ldc-developers/druntime#30 if somebody has the time to review. The PR is old and may need some updates. It would probably also work for Windows and the TlsGetValue() Thread.getThis() workaround could be removed.

dnadlinger added a commit that referenced this pull request Nov 16, 2015
OS X - default OS to macosx instead of darwin
@dnadlinger dnadlinger merged commit 4887790 into ldc-developers:master Nov 16, 2015
@kinke
Copy link
Member

kinke commented Nov 16, 2015

Oh, looks like this also got rid of the linker bug for Travis OSX?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants