Go to file
Arnout Vandecappelle (Essensium/Mind) 9c64faace9 support/testing/run-tests: fix --testcases option
The --testcases option of run-tests says how many test cases to build in
parallel. It automatically derives a jlevel from it by dividing the
number of cores + 1 by the number of parallel testcases. However, this
will typically result in a fractional number. Make doesn't like
fractional numbers as argument to -j.

Convert the number to integer (rounding down).

* br2_jlevel is an int, as multiprocessing.cpu_count() is an int, so it
  will be always >=2  (cpu_count() raises an error if it can't determine
  the number of CPU, so it will always return at least 1);

* args.testcases is an int, and is checked to be >=1

So br2_jlevel + args.testcases is guaranteed to always be bigger
than or equal to args.testcases, and the division thus bigger than 1.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr:
  - ensure division provide at least 1
  - drop the test below
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
(cherry picked from commit 8dce595a68)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-08-31 00:26:47 +02:00
arch arch/Config.in.riscv: lp64f ABI is only supported if MMU is enabled 2022-08-29 22:12:21 +02:00
board board/zynqmp/kria/kv260/uboot.fragment: add additional uboot build options 2022-07-31 08:15:08 +02:00
boot boot/arm-trusted-firmware: remove extra ending parentheses 2022-08-16 11:39:56 +02:00
configs configs/zynqmp_kria_xxx_defconfig: uboot dp pll patch 2022-07-22 09:36:55 +02:00
docs docs/manual/prerequisite.txt: add diffutils 2022-08-29 13:11:15 +02:00
fs fs/squashfs: fix BR2_TARGET_ROOTFS_SQUASHFS_BS_8K 2022-05-29 22:28:21 +02:00
linux {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15, 17}.x series 2022-08-03 22:22:08 +02:00
package package/pkg-utils: refine KCONFIG_MUNGE_DOT_CONFIG 2022-08-30 18:14:37 +02:00
support support/testing/run-tests: fix --testcases option 2022-08-31 00:26:47 +02:00
system package/systemd: add setting for systemd default.target 2022-05-02 22:58:44 +02:00
toolchain toolchain: handle white spaces in sysroot dir in copy_toolchain_sysroot 2022-08-29 08:21:34 +02:00
utils utils/readme.txt: Fix typo "get-developers" 2022-08-14 21:20:27 +02:00
.clang-format .clang-format: initial import from Linux 5.15.6 2022-01-01 15:01:13 +01:00
.defconfig
.flake8 Revert ".flake8: fix check for 80/132 columns" 2021-01-02 17:38:20 +01:00
.gitignore
.gitlab-ci.yml utils/checkpackagelib/lib_sysv: run shellcheck 2022-02-06 18:27:03 +01:00
.shellcheckrc utils/check-package: improve shellcheck reproducibility 2022-08-18 07:59:11 +02:00
CHANGES Update for 2022.05.1 2022-07-24 11:44:28 +02:00
Config.in Config.in: only allow BR2_STATIC_LIBS on supported libc/arch 2022-06-06 15:14:05 +02:00
Config.in.legacy package/php: remove wddx extension 2022-07-18 09:12:40 +02:00
COPYING
DEVELOPERS DEVELOPERS: drop myself from Pulseaudio 2022-08-30 18:01:33 +02:00
Makefile Update for 2022.05.1 2022-07-24 11:44:28 +02:00
Makefile.legacy
README docs: move the IRC channel away from Freenode 2021-05-29 22:16:23 +02:00

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on OFTC IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches