diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-05-18 13:46:11 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-05-18 13:46:11 +0200 |
| commit | f174239a122246cd43792ac75ddedd85b7214f08 (patch) | |
| tree | bb1710cf22d884997b67b5c60690a737e6670eff /scripts/0300-build-bootstrap-gcc.sh | |
| parent | a5c1e6fc81ef990c56305fe10deccf55373afd30 (diff) | |
| download | toolchains-f174239a122246cd43792ac75ddedd85b7214f08.tar.xz toolchains-f174239a122246cd43792ac75ddedd85b7214f08.zip | |
build: improve parallelization
Diffstat (limited to 'scripts/0300-build-bootstrap-gcc.sh')
| -rwxr-xr-x | scripts/0300-build-bootstrap-gcc.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/0300-build-bootstrap-gcc.sh b/scripts/0300-build-bootstrap-gcc.sh index e5ee70b..b81c74a 100755 --- a/scripts/0300-build-bootstrap-gcc.sh +++ b/scripts/0300-build-bootstrap-gcc.sh @@ -31,8 +31,8 @@ PATH=/opt/bootstrap/bin:/opt/toolchain/bin:$PATH CPPFLAGS="-I$STATIC_DEPS_PREFIX/include" \ LDFLAGS="-L$STATIC_DEPS_PREFIX/lib" -make -j$(nproc) all-gcc +make -j$(($(nproc) * 2)) all-gcc make install-gcc -make -j$(nproc) all-target-libgcc +make -j$(($(nproc) * 2)) all-target-libgcc make install-target-libgcc |
