ninja understands -j
just like make, but ninja does not use $MAKEFLAGS
. Also, ninja uses the number of logical CPUs available on the system as the maximum number of parallel jobs by default, so there is no point in specifying -j $(nproc)
. But, in case of Chromium, the high number of parallel jobs is exactly what is causing issues for people who don't have enough RAM. As I said several times here, they should try to lower the maximum number of parallel jobs to avoid mysterious errors as well as a slow(er) build with enabled swap.
Note that unlike ninja, make uses -j 1
by default. While ninja does not have anything like $MAKEFLAGS
, but some packages like llvm-git introduce a similar variable to make things configurable:
- https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=llvm-git#n35
- https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=llvm-git#n88
There is also some discussion about it in the comments, see 2019-04-28 14:08 and before.
Pinned Comments
JstKddng commented on 2022-05-06 14:37 (UTC) (edited on 2022-06-27 13:48 (UTC) by JstKddng)
A new va-api patch for wayland has been added. Required flags for it to work are the following, thanks to @acidunit
JstKddng commented on 2020-07-19 06:34 (UTC)
You can get prebuilt binaries here:
https://github.com/ungoogled-software/ungoogled-chromium-archlinux#binary-downloads
seppia commented on 2018-12-12 21:34 (UTC)
Please do NOT flag this package as out of date in relation to official chromium releases.
This is NOT Google Chromium and new releases come after additional work of the ungoogled-chromium contributors, so they may not be ready, nor available for days or even weeks after a new version of official chromium is released.
Please refer to https://github.com/Eloston/ungoogled-chromium/tags for ungoogled-chromium releases. Use those and please flag this package as out of date only if a newer release is present there. I will update the PKGBUILD as soon as I can every time a new release comes out.
Thanks