Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

EasyApache and parallel build with make -jN

Discussion in 'Workarounds and Optimization' started by den_svart, Nov 17, 2009.

  1. den_svart

    den_svart Registered
    PartnerNOC

    Joined:
    Jul 30, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    Is it possible to make EasyApache run make like "make -j4" on systems with 4 CPU cores? It could really speedup rebuilds.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    8
    Trophy Points:
    193
    I generally setup "CONCURRENCY_LEVEL" variable in .bashrc which unlike .bash_profile is called upon all shell requests (including scripts).

    You can also do an 'alias make="make -j(#)"' in there as well ...

    I'm sure you could just set things at EasyApache directly, but setting the environment works just as well and still works for manual compiles too ;)
     
  3. den_svart

    den_svart Registered
    PartnerNOC

    Joined:
    Jul 30, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    151
    I wonder if number of CPUs in cPanel config used to figure out concurrency for make.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice