-
-
Notifications
You must be signed in to change notification settings - Fork 763
ARM and Android fixes: version out some HardFloat tests, use TMPDIR logic and declaration from druntime, and correct comment #5358
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
Changes from all commits
7fde88d
0080647
ee4036a
f2186ef
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4816,7 +4816,7 @@ public: | |
| assert(ieeeFlags == f); | ||
| } | ||
|
|
||
| @system unittest | ||
| version(D_HardFloat) @system unittest | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note this added commit, needed when running the tests on Android/ARM for the merge-2.074 branch of ldc.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs moving to a separate pr IMO.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's so small, I'd rather just do it here. What's the problem with this commit? These three commits are what I need to get the tests passing on Android/ARM, fairly small PR.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Only one of the commits is fine, we can merge it now without waiting on the other two. I'm not sure about this change, but I haven't looked at the body, and I don't wish to discuss here, as the topic is about murmurhash.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The topic is some small changes I had to make for Android/ARM, ie the contents of this PR. The notion that one can't discuss this tiny commit here because of the surrounding discussion about murmurhash3 is laughable, as most non-negligible Phobos PRs have many such topical threads of discussion. |
||
| { | ||
| import std.meta : AliasSeq; | ||
|
|
||
|
|
@@ -5260,7 +5260,7 @@ private: | |
| ensureDefaults(); | ||
| } | ||
|
|
||
| @system unittest // rounding | ||
| version(D_HardFloat) @system unittest // rounding | ||
| { | ||
| import std.meta : AliasSeq; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.
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.
Added another Android commit, as ldc is now packaged on Android itself, and the Termux app does set
TMPDIR. This was versioned out because it was assumed that most would run D code from their own Android GUI app, ie an apk, which don't have any global temp directory. However, now that D can be used from the command-line on Android itself, with an app that setsTMPDIRfor all command-line D tools, just use the below Posix logic. You will have to set the tempDir by hand for each apk anyway, if you use it.This already hit me when building
rdmdfor Android, where I had to patch it to checkTMPDIR, can take that out with this change.