-
-
Notifications
You must be signed in to change notification settings - Fork 280
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
R: Move to UCRT on Windows #1654
Comments
cc @conda-forge/r |
Yes, but will need a lot of work.
Yes, there is already an epoch which is used by all
No, it will make the interoperability better. (CRT objects can be allocated and deallocated across DLL boundaries with MSVC and MinGW ucrt build) |
Hello, upstream maintainer of many R packages and former R toolchain maintainer here :) The safest and easiest solution would be to start using the toolchain from the rtools42 bundle provided by CRAN:
This contains the mingw-w64 gcc-10.3 toolchain that has been tested to work with all CRAN packages, and also includes all 3rd party system libs as assumed by CRAN packages. Using custom compilers will become increasingly difficult, because R packages either have to hardcode the linker flags for external libraries as they work with rtools42, or alternatively download their own static ucrt external libraries at install time. Trying to make those packages work with your custom toolchains will probably be an ongoing maintenance nightmare :) |
xref: #1044 |
Given that this is presumably limiting the R 4.2.0 builds should windows builds "simply" be skipped for R packages for now? |
I realize this is a massive undertaking and will require non-trivial resources being drawn away from other important work. Is there a place to discuss this effort and when it might make sense for conda-forge? I'm aware of a few workflows which are broken on 4.1 but do work on 4.2 on Windows because of the change in toolchains. Thanks for everything you all do. |
Some additional context from conda-forge/r-base-feedstock#210 for those arriving on this issue:
|
Given this migration is now underway with R 4.4 in conda-forge ( conda-forge/conda-forge-pinning-feedstock#6040 ), should we close this out? Admittedly the migration is not done, but it is moving at a good clip. Efforts are probably best directed to the various |
CRAN is moving to use URCT as the C library next month. This will potentially lead to interoperability issues between R packages from conda-forge and ones from CRAN. This leads to the following questions/potential issues:
Useful background information:
Things to do
m2-*, m2w64-*, {{native}}*, {{posix}}*
in all the feedstocks after cloning https://github.com/conda-forge/feedstocks/tree/main/feedstocksThe text was updated successfully, but these errors were encountered: