tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

firefox build problem with MAKE_JOBS=1


The build of firefox overrides the parallelization of the cargo/rust part.

patches/ += -j1

However, when MAKE_JOBS is already set to one, this breaks:

/usr/pkg/bin/cargo rustc  --release --frozen --manifest-path /scratch/www/firefox/work/firefox-94.0.2/toolkit/library/rust/Cargo.toml -vv -j1 -j1 --lib --target=aarch64-unknown-netbsd --features 'moz_places webrtc glean_with_gecko glean_disable_upload with_dbus' --  -Clto
error: The argument '--jobs <N>' was provided more than once, but cannot be used multiple times

    cargo rustc --features <FEATURES>... --frozen --jobs <N> --lib --manifest-path <PATH> --release --target <TRIPLE>... --verbose

For more information try --help

Does anyone have an idea how to fix that?

(My workaround was to increase MAKE_JOBS to 2 and if the machine runs
out of RAM, I'll set it to 1 again.)

Home | Main Index | Thread Index | Old Index