Package Details: serial-studio 3.0.6-3

Git Clone URL: https://aur.archlinux.org/serial-studio.git (read-only, click to copy)
Package Base: serial-studio
Description: Multi-purpose serial data visualization & processing program
Upstream URL: https://github.com/Serial-Studio/Serial-Studio
Keywords: mqtt multi-platform multi-purpose serial-studio tcp/udp
Licenses: MIT
Conflicts: Serial-Studio, serial-studio
Provides: Serial-Studio, serial-studio
Submitter: taotieren
Maintainer: taotieren
Last Packager: taotieren
Votes: 0
Popularity: 0.000000
First Submitted: 2022-06-15 09:19 (UTC)
Last Updated: 2024-12-06 14:05 (UTC)

Dependencies (80)

Required by (0)

Sources (1)

Latest Comments

uffe commented on 2024-12-11 08:11 (UTC)

Could you please do a little change to your PKGBUILD ?

Specificly change ninja -C build into cmake --build build

Reasoning:

With ninja it is unfortunately not possible to control its number of parallel builders with environment variables.

That is a feature that both make and cmake have.

The ninja folks refuse to make such feature.

When I aur-build serial-studio on my old laptop - ninja will spawn so many parallel builders that it runs out of memory during compile pass...

Normally you can do resource control of aur builds via makepkg.conf - that does unfortunately not work when invoking ninja directly - so every time I have to edit PKGBUILD - to prevent from running out of memory.

with the above suggested change the end result is the same - instead of invoking ninja directly - you just use cmake to invoke the (ninja) builder - but with cmake as the invoking frontend you (I) can just put limitations into my local makepkg.conf:

CMAKE_BUILD_PARALLEL_LEVEL=2 MAKEFLAGS="-j2"

The above will work for any aur build that use make and cmake (but not if you invoke ninja directly)

Thanks in advance :-)