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

Changeset 6abb346 in mainline


Ignore:
Timestamp:
2012-05-31T16:54:28Z (9 years ago)
Author:
Martin Decky <martin@…>
Branches:
master
Children:
db675dd
Parents:
692be1ae
Message:

add support for 2-way parallel compilation (for machines with less memory)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/toolchain.sh

    r692be1ae r6abb346  
    149149        echo " sparc64    SPARC V9"
    150150        echo " all        build all targets"
    151         echo " parallel   same as 'all', but in parallel"
     151        echo " parallel   same as 'all', but all in parallel"
     152        echo " 2-way      same as 'all', but 2-way parallel"
    152153        echo
    153154        echo "The toolchain will be installed to the directory specified by"
     
    431432                wait
    432433                ;;
     434        "2-way")
     435                prepare
     436                build_target "amd64" "amd64-linux-gnu" &
     437                build_target "arm32" "arm-linux-gnueabi" &
     438                wait
     439               
     440                build_target "ia32" "i686-pc-linux-gnu" &
     441                build_target "ia64" "ia64-pc-linux-gnu" &
     442                wait
     443               
     444                build_target "mips32" "mipsel-linux-gnu" &
     445                build_target "mips32eb" "mips-linux-gnu" &
     446                wait
     447               
     448                build_target "mips64" "mips64el-linux-gnu" &
     449                build_target "ppc32" "ppc-linux-gnu" &
     450                wait
     451               
     452                build_target "ppc64" "ppc64-linux-gnu" &
     453                build_target "sparc64" "sparc64-linux-gnu" &
     454                wait
     455                ;;
    433456        *)
    434457                show_usage
Note: See TracChangeset for help on using the changeset viewer.