Merge pull request #388 from Googulator/kernel-bootstrap-jobs
Restore multicore build support with kernel-bootstrap
This commit is contained in:
commit
01a4f90378
|
@ -33,6 +33,7 @@ def create_configuration_file(args):
|
||||||
config.write(f"UPDATE_CHECKSUMS={args.update_checksums}\n")
|
config.write(f"UPDATE_CHECKSUMS={args.update_checksums}\n")
|
||||||
config.write(f"JOBS={args.cores}\n")
|
config.write(f"JOBS={args.cores}\n")
|
||||||
config.write(f"SWAP_SIZE={args.swap}\n")
|
config.write(f"SWAP_SIZE={args.swap}\n")
|
||||||
|
config.write(f"FINAL_JOBS={args.cores}\n")
|
||||||
config.write(f"INTERNAL_CI={args.internal_ci or False}\n")
|
config.write(f"INTERNAL_CI={args.internal_ci or False}\n")
|
||||||
config.write(f"INTERACTIVE={args.interactive}\n")
|
config.write(f"INTERACTIVE={args.interactive}\n")
|
||||||
config.write(f"BARE_METAL={args.bare_metal}\n")
|
config.write(f"BARE_METAL={args.bare_metal}\n")
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# SPDX-FileCopyrightText: 2024 Gábor Stefanik <netrolller.3d@gmail.com>
|
||||||
|
#
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
#
|
||||||
|
# Finalize job count once SMP support is available
|
||||||
|
|
||||||
|
cat >> /steps/bootstrap.cfg <<- EOF
|
||||||
|
JOBS=${FINAL_JOBS}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
. /steps/bootstrap.cfg
|
||||||
|
. /steps/env
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
unset GUILE_LOAD_PATH
|
unset GUILE_LOAD_PATH
|
||||||
|
|
||||||
cat > /steps/env <<- EOF
|
cat >> /steps/env <<- 'EOF'
|
||||||
export PATH=${PREFIX}/bin
|
export PATH=${PREFIX}/bin
|
||||||
PREFIX=${PREFIX}
|
PREFIX=${PREFIX}
|
||||||
LIBDIR=${LIBDIR}
|
LIBDIR=${LIBDIR}
|
||||||
|
|
|
@ -119,6 +119,7 @@ build: linux-4.9.10 ( BUILD_LINUX == True )
|
||||||
jump: break ( INTERNAL_CI == pass1 )
|
jump: break ( INTERNAL_CI == pass1 )
|
||||||
jump: linux ( CHROOT == False )
|
jump: linux ( CHROOT == False )
|
||||||
jump: move_disk ( KERNEL_BOOTSTRAP == True )
|
jump: move_disk ( KERNEL_BOOTSTRAP == True )
|
||||||
|
improve: finalize_job_count
|
||||||
improve: finalize_fhs
|
improve: finalize_fhs
|
||||||
improve: swap ( SWAP_SIZE != 0 )
|
improve: swap ( SWAP_SIZE != 0 )
|
||||||
build: musl-1.2.4
|
build: musl-1.2.4
|
||||||
|
|
Loading…
Reference in New Issue