You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Jonathan Keane (Jira)" <ji...@apache.org> on 2021/04/26 22:38:00 UTC
[jira] [Created] (ARROW-12558) [R] Can we link to RE2 with rtools
3.5?
Jonathan Keane created ARROW-12558:
--------------------------------------
Summary: [R] Can we link to RE2 with rtools 3.5?
Key: ARROW-12558
URL: https://issues.apache.org/jira/browse/ARROW-12558
Project: Apache Arrow
Issue Type: Bug
Components: R
Reporter: Jonathan Keane
It looks like we conditionally use RE2 (only on RTOOLS 4.0), do we need to do this or can RTOOLS 3.5 compile RE2? https://github.com/apache/arrow/blob/master/r/configure.win#L59
From https://github.com/r-windows/rtools-backports/pull/42#issuecomment-827185255
OK I deployed this, but note that now you need to fix your R package, because you built w/ libre2, but currently in your R package you only link to with -lre2 for rtools40, but not for the backport:
https://github.com/apache/arrow/blob/master/r/configure.win#L59
So you need to change that to link to -lre2 unconditionally.
Before you submit to cran make sure to test on winbuilder, in particular the R-oldrelease flavour, which uses this backport.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)