RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    -J# compiling option for retropie installs/updates?

    Scheduled Pinned Locked Moved Help and Support
    compilecompilingupgrade
    3 Posts 2 Posters 558 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      chemdream
      last edited by

      In RetroPie, is there a config option where I could put compile flags that it could use for all package install and updates?

      This way I could use the -J option so it uses all of my CPU's cores?

      BuZzB 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @chemdream
        last edited by

        @chemdream Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first (knowing which platform for example would help me answer).

        By default on a PC all cores are used. However on the RPI only 2 are used on the rpi2/3 due to memory limits.

        you can override this with MAKEFLAGS.

        sudo MAKEFLAGS="-j4" ~/RetroPie-Setup/retropie_setup.sh
        

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • C
          chemdream
          last edited by

          Sorry, I thought I did. But that was in another post.

          That said, compiling on a threadripper 2990WX with -J80 is almost hilarious. :-)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.