-
Notifications
You must be signed in to change notification settings - Fork 13
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
Windows? #14
Comments
I actually (very briefly) tried that yesterday and failed. Maybe I skipped a step.
Did you build locally or did you ship to win-builder or rhub? |
(Apparently I do have three |
This should do the trick: https://github.com/knapply/rcppsimdjson/tree/b35379054de99ad9a04a503aca6e05dbadf2d9b9 Specifically just these files (no
|
@knapply Not sure I follow:
Communication "in prose" is hard about code. Maybe we can in diffs like normal coders? ;-) I tossed a first build pending at win-builder, it died on "cannot do 32bit..." For ~ 72 hours at |
Apologies. It was an attempt to point anyone working on it in a direction that seems to work (stop-gap, as I don't have a proper diff handy). The 3rd point was only that it does build and pass. The solution to the 32 bit issue is passing I'm not certain at the moment how that's done for https://win-builder.r-project.org (or whether we can expect the 64-bit version of R to always be the default... meaning |
No worries, also had three balls in the air. Thanks for the reminder about I think we are NOT allowed to skip 32 bit builds so that would be a roadblock for CRAN, no? I have the feeling that came up recently on r-package-devel. |
Adding
That would be disappointing. A quick search of related terms didn't find the relevant thread, but that doesn't mean much. |
Was worth a try, but it failed the same way at win-builder. Re-checking WRE it actually says
And was you said
Indeed. We could get more serious about it and (ahem, cough, cough) simply make 32-bit "empty". Look closely at what I did for the top of |
I am building locally, with the
|
Yes but
But I agree with you: the repo should make it easier for users like to build a binary, and maybe we can even look into creating a Windows binary (for 64 bit only) using win-builder and serving it via drat. |
Ok I see. Too bad hopefully they will evolve. Meanwhile, this is more of a (very-)nice-to-have than a must-have, there are other solutions on windows. |
Though we do not advertise it, simdjson works under Win32 (in master). And we test it. It puzzles me, however, that people feel the need to use Windows 32-bit. |
Interesting. CRAN's position is that some vendor-supplied software -- think odbc drivers -- still ships 32 bit only so they don't want to turn it off. |
I think that 32-bit support should be at least deprecated. Microsoft is phasing out 32-bit windows: New Windows 10 PCs, starting with the May 2020 Update/2004, will be able to run 64-bit Windows 10 only. But anyhow, yes, we support 32-bit Windows... We have that in CI. |
As of simdjson 0.4.1, we can compile and pass tests under x86 (32-bits) using both GCC 7 and clang 6. So you should be able to build simdjson under mingw32. |
Very nice, and confirmed! Tossed a first build at builder.r-hub.io and it passed, see Or by email report back: RcppSimdJson 0.0.6.1: NOTE Build ID: RcppSimdJson_0.0.6.1.tar.gz-b273f84ba5a7470b939ac22fbfbc7124 NOTES:
See the full build log: Have questions, suggestions or want to report a bug? Thank You for using the R-hub builder. (c) 2016 The R Consortium |
Coming in version 0.1.0 in a few days, see #28 for more. In the meantime just build from the main branch in the repo and/or fetch a binary from the rhub log above (though those only stay around for a day or two...) |
Copying and adding a
.win
extension toconfigure
andcleanup
, and removing the lineOS_type: unix
fromDESCRIPTION
makes it compile on windows with the new toolchain. Would you be interested in a PR ?Thanks
The text was updated successfully, but these errors were encountered: