Package Details: serial-studio 3.0.6-7

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-20 18:04 (UTC)

Latest Comments

uffe commented on 2024-12-20 12:10 (UTC)

@taotieren Thanks for your change - I just tested it - it works great

PS: I just had a look at your build - and just want to clarify a little detail. Even with my suggested change you can still have ninja as the selected "builder" (-G Ninja). As long as you invoke the builder through cmake it can be resource limited as I suggested. But there can be lots of other reasons for the removal of '-G Ninja' - I just wanted to give you some feedback on the change :-)

taotieren commented on 2024-12-20 08:43 (UTC)

@uffe Thanks, I've committed the changes to cmake, if local compilation is slow, you can add my repositories to download the pre-compiled packages.

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 :-)