Git Product home page Git Product logo

Comments (2)

s-u avatar s-u commented on August 28, 2024

Parallel make is in general not supported, so by changing MAKE your'e entirely on your own (btw that should never be used to set make flags - it defines the make program, not its flags - those are separate). I'll flag this as an enhancement in case someone wants to contribute a pull request.

from rjava.

bastistician avatar bastistician commented on August 28, 2024

Up to now I did not have any problems installing contributed R packages using parallel make, I only recognized that I am "entirely on my own" when installing rJava.

Thanks for pointing me to MAKEFLAGS (I now set MAKEFLAGS=-j in my ~/.R/Makevars).

It might be an idea to set MAKEFLAGS=-j1 in rJava's jri/Makefile.all since https://www.gnu.org/software/make/manual/html_node/Options_002fRecursion.html says:

You can also set MAKEFLAGS in a makefile, to specify additional flags
that should also be in effect for that makefile

Telling make that way that the makefile infrastructure of rJava's jri is incompatible with parallelization works on my system (Ubuntu Linux, GNU make).

I'm not an expert, but it seems to me that this is no portable solution since the -j argument is not declared in POSIX make. So I have no idea what happens in other implementations of make...

from rjava.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.