thisisnic commented on pull request #10710: URL: https://github.com/apache/arrow/pull/10710#issuecomment-895338644
@kou - we're trying to work out how to proceed with this ticket and had a question you might know the answer to - I've summarised everything below so you don't have to go trawling through all the history here! The overall aim of this ticket is to enable the R package build to use pkg-config to see if the dependencies are already installed and link to those instead of the bundled ones when the R package is built/installed. Currently, the R package only uses the bundled versions of the dependencies (i.e. ARROW_DEPENDENCY_SOURCE is set to BUNDLED) but we’re trying to make it work with that variable set to AUTO which will use either system versions if present or the bundled ones if not. We're having a few issues around getting pkg-config working correctly in the R package - we realised that at the moment, in the code which builds the R package, pkg-config isn't actually being run against the various dependencies - though it is being used successfully to find libarrow. A possible approach could be running pkg-config against every dependency when we build the R package in order to see if the package is already installed and get all the libraries directories and libraries link flags if it is, but that seems a bit inefficient. Given that cmake is already doing something similar and likely has these flags when libarrow is being built, is there some way we can extract these flags from cmake when it builds libarrow to use when the R package is being built so we're not repeating ourselves? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
