david-cortes opened a new issue, #43546:
URL: https://github.com/apache/arrow/issues/43546

   ### Describe the bug, including details regarding any error messages, 
version, and platform.
   
   Installing the R package for `arrow` using `install.packages` without a 
previous system `libarrow` installation will make it compile the core library 
on-the-fly, but compilation of said library ignores whatever compilation flags 
a user sets up for their R setup.
   
   As an example, in a linux system, if I create a file `~/.R/Makevars` like 
this:
   ```
   MAKEFLAGS += -j$(nproc)
   ```
   
   R packages compiled from source will be compiled in parallel using the 
number of threads in the system as returned by `nproc`, but installation of the 
core libarrow during `install.packages` will not add such flag and will thus 
compile single-threaded.
   
   Same for other flags used in `Makevars`, like `CXXFLAGS`.
   
   ### Component(s)
   
   R


-- 
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: issues-unsubscr...@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to