Changes in / [2660ee3:b500939e] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/toolchain.sh

    r2660ee3 rb500939e  
    7272GDB="gdb-${GDB_VERSION}.tar.gz"
    7373ISL="isl-${ISL_VERSION}.tar.bz2"
     74CPUCOUNT="`python -c 'import multiprocessing as mp; print(mp.cpu_count())' `"
    7475
    7576REAL_INSTALL=true
     
    500501       
    501502        change_title "binutils: make (${PLATFORM})"
    502         make all
     503        make -j$CPUCOUNT all
    503504        check_error $? "Error compiling binutils."
    504505       
     
    523524       
    524525        change_title "GCC: make (${PLATFORM})"
    525         PATH="${PATH}:${PREFIX}/bin:${INSTALL_DIR}/${PREFIX}/bin" make all-gcc
     526        PATH="${PATH}:${PREFIX}/bin:${INSTALL_DIR}/${PREFIX}/bin" make -j$CPUCOUNT all-gcc
    526527        check_error $? "Error compiling GCC."
    527528       
     
    545546               
    546547                change_title "GDB: make (${PLATFORM})"
    547                 PATH="${PATH}:${PREFIX}/bin:${INSTALL_DIR}/${PREFIX}/bin" make all
     548                PATH="${PATH}:${PREFIX}/bin:${INSTALL_DIR}/${PREFIX}/bin" make -j$CPUCOUNT all
    548549                check_error $? "Error compiling GDB."
    549550               
Note: See TracChangeset for help on using the changeset viewer.