Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b500939e in mainline


Ignore:
Timestamp:
2018-02-07T07:23:45Z (5 years ago)
Author:
GitHub <noreply@…>
Parents:
2660ee3 (diff), b3536a0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Kai Liu <nebulabox@…> (2018-02-07 07:23:45)
git-committer:
GitHub <noreply@…> (2018-02-07 07:23:45)
Message:

Merge b3536a08e653e79033c58790a83cb4da9bcd779e into 2660ee33905b12512a15891b19f47af71a4770f1

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.