Re: [Rpm-maint] [rpm-software-management/rpm] Cap number of threads on 32bit platforms, add a tunable (RhBug:1729382) (#823)
Merged #823 into master. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/823#event-2589694605___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] WIP: rpm 4.15.0-rc1 (#822)
@pmatilai pushed 6 commits. 18a0a01edcb63f6497e424e515bb05aa9c8dd382 Remove unused variable id in find-debuginfo.sh ad0f6a1281c8f7ec636ade02b87c118eda9e019c Document zstd compression in main macros file abb050d0733e110d60db7780a078551ded00db41 Make dependency generation test payload-compression agnostic 0ecec06c1a83b920c6582c73a57b88c2eab913ac Fix build code thread cap logic for unlimited CPUs 20f4c0dbfc52a80eac79df52bca7f74c7ef74781 Cap number of threads on 32bit platforms, add tunables (RhBug:1729382) 725ebea00c3b6b0fe3f2c25c4af03183d4a4c8d0 Preparing for rpm 4.15.0-rc1 -- You are receiving this because you are subscribed to this thread. View it on GitHub: https://github.com/rpm-software-management/rpm/pull/822/files/43877a6d3a749fb84e30513522e11c22d7319f42..725ebea00c3b6b0fe3f2c25c4af03183d4a4c8d0 ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] WIP: rpm 4.15.0-rc1 (#822)
Merged #822 into rpm-4.15.x. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/822#event-2589798890___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Need to limit threads based on available memory and address space (#804)
Closed #804. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/804#event-2589831438___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Need to limit threads based on available memory and address space (#804)
Stopgap fix in commit 0488fdc927e6d31a0af55646fe51effe9592cb26, a more elaborate solution in the works (PR #821) for post 4.15. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/804#issuecomment-525661951___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Triple operator for conditional shortcut (#115)
Just to start the discussion, I wonder if support for `%{expr:?}` and `%{expr:?:}` is too insane? If `//` contains a '?' or ':' char you could use `%{quote:}` as workaround. E.g.: ``` %{expr:%_include_minidebuginfo?%{quote:mini:true}:%{quote:mini:false}} ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/115#issuecomment-525669718___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] RFC: Limit build parallelism by available memory too, add tunables (#804) (#821)
for the record, there are already packages like ceph or firefox that do their own heuristics, and I'm not sure it's always correct, so having a system way is definitely step in the right direction -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/821#issuecomment-525673262___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Triple operator for conditional shortcut (#115)
OTOH we could add a `? :` operator to rpm's expression parser: ``` %{expr:%_include_minidebuginfo?"mini:true":"mini:false"} ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/115#issuecomment-525675355___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Triple operator for conditional shortcut (#115)
My general idea has been that %{expr:...} is strictly for evaluating expressions into strings, and that a different syntax would be used for boolean evaluation, something along the lines of ```%{()?:}``` but haven't given the syntax details too much thought. Adding support for ```? :```in the expression parser is certainly a possibility as well. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/115#issuecomment-525681191___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] RPM 4.15.0 rc1 released!
A wee bit late from the original schedule but at least in the same month still, here comes the first and hopefully last release candidate for 4.15.0. The main highlights since beta are: - Fixed out of order build output - Fixed memory exhaustion during build on 32bit platforms - Added %{expr:...} macro for evaluating expressions (into strings) - Assorted other bug fixes As usual, details and download info at: https://rpm.org/wiki/Releases/4.15.0 Unless some major drama comes up, I expect this to become the final release in a couple of weeks. On behalf of the rpm-team (most of which is on vacation), - Panu - ___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Triple operator for conditional shortcut (#115)
Support for ? :in the expression parser has the addition bonus that it resolves the "whitespace stripping" discussion: ``` %{expr: 0%?_include_minidebuginfo ? "mini:true" : "mini:false" } ``` Also note that the expr parser already has a (somewhat insane) macro expansion feature: ``` %{expr: ix86} ``` -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/115#issuecomment-525706629___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint