support for compliance with CRAN repository policies#1232
support for compliance with CRAN repository policies#1232drwolf85 wants to merge 2 commits intomicrosoft:mainfrom
Conversation
|
@microsoft-github-policy-service agree |
|
While I'm not making the call whether to merge this or not, if I would, this would get a rejection. Let me elaborate. You're trying to solve a very specific issue ("CRAN complicance") in the upstream repo, which is used in a lot more scenarios, with occasional seemingly little regard how it may affect others. It's probably also a potential source for bit rot, as this particular scenario is rather special.
So with generic solutions to your issues in place, you could specify appropriate build options & behavior customizations in the project(s) that embed mimalloc, instead of requiring some rather specific and peculiar upstream changes.. |
|
I think the concerns of @res2k are valid; I will close this PR for now until there is a less intrusive way to make mimalloc CRAN compliant. Thank you. |
When using
mimallocas a subtree in the source code of an R package, the static library embedded in a shared object failed to pass CRAN checks for compiled packages. I fixed the library mainly using preprocessor directives. Issues with pragma statements disabling GCC warnings were solved using comments.