Go to file
Panu Matilainen deaebd0c89 Add optional total/proc/thread arguments to %{getncpus} macro
"total" equals calling with no arguments, "proc" and "thread" consider
further constraints, what is implemented here is heuristics based on
available physical memory and address-space and %_smp_tasksize_proc /
%_smp_tasksize_thread tunables.

Change the previous %getncpus related tests to use %getconfdir instead,
they are testing unexpected arguments behavior for this type of macro,
not %getncpus itself. Add a test for the actual functionality: if nproc
is available, test that our total matches with that, and that defining
tasksize to total memory only allocates one thread. Optimally we'd
test separately for 32bit address space limitations but that gets tough
when we have no idea where this will be executed.
2023-03-30 13:58:04 +03:00
build rpmdsSetIx() sanity in rpmfcPrint() 2023-03-22 11:17:45 +02:00
ci Default to Sequoia crypto as per roadmap 2022-11-29 13:46:56 +02:00
docs Add optional total/proc/thread arguments to %{getncpus} macro 2023-03-30 13:58:04 +03:00
fileattrs Call RPM_CONFIGDIR just that consistently 2023-03-30 11:52:59 +03:00
include/rpm Kick out one last remaining nopromote remnant from the ABI 2023-03-22 11:17:45 +02:00
lib Honor rpm vendor setting from cmake, use a saner name 2023-03-30 11:52:59 +03:00
misc Remove autotools build 2022-10-21 09:03:05 +03:00
plugins Implement proper imaevm detection in the cmake build 2022-12-13 13:37:02 +02:00
po@e12389fdde Add rpm-l10n as a submodule into po/ 2022-11-02 14:22:13 +02:00
python Use Python >= 3.2 compatible object hash slot type 2023-03-13 12:47:20 +02:00
rpmio Add optional total/proc/thread arguments to %{getncpus} macro 2023-03-30 13:58:04 +03:00
scripts Call RPM_CONFIGDIR just that consistently 2023-03-30 11:52:59 +03:00
sign Fix ignoring exit code of child scripts in case of EINTR 2023-03-08 11:04:12 +02:00
tests Add optional total/proc/thread arguments to %{getncpus} macro 2023-03-30 13:58:04 +03:00
tools Add rpmsort utility for sorting RPM versions 2022-11-25 10:38:42 +01:00
.gitignore Add _build/ to .gitignore 2022-11-28 13:54:54 +02:00
.gitmodules Add rpm-l10n as a submodule into po/ 2022-11-02 14:22:13 +02:00
.mailmap Update credits for a change 2021-03-18 09:37:17 +02:00
CMakeLists.txt Call RPM_CONFIGDIR just that consistently 2023-03-30 11:52:59 +03:00
CONTRIBUTING.md Add a note about CI tests to contributing guidelines 2023-03-24 10:22:54 +02:00
COPYING Explicitly mention that the rpmio/ sub dir is under LGPL 2020-01-29 14:48:38 +02:00
CREDITS Update credits for a change 2021-03-18 09:37:17 +02:00
INSTALL Expect NOTTRUSTED for expired and revoked signatures from rpm-sequoia 2023-03-17 09:55:15 +02:00
README Update community link in README 2017-04-05 11:57:00 +03:00
cliutils.c Drop a leftover mcheck.h include 2022-10-04 12:50:23 +03:00
cliutils.h add short summaries to headers that miss one 2016-01-28 14:42:47 +01:00
config.h.in Honor rpm vendor setting from cmake, use a saner name 2023-03-30 11:52:59 +03:00
debug.h Drop support for dmalloc 2020-03-27 15:49:18 +02:00
installplatform Revise ISANAME for loongarch 2023-01-11 14:56:29 +01:00
macros.in Add optional total/proc/thread arguments to %{getncpus} macro 2023-03-30 13:58:04 +03:00
platform.in Make CPU and thread-related macros available on all platforms 2022-11-08 10:02:33 +02:00
rpm.c Set program name centrally from rpmcliInit() 2022-03-25 10:23:37 +02:00
rpm.pc.in Call RPM_CONFIGDIR just that consistently 2023-03-30 11:52:59 +03:00
rpm2archive.c Fix silent wait when missing input RPM package 2023-01-10 11:42:48 +01:00
rpm2cpio.c Fix Header leak when running rpm2cpio 2022-12-08 11:56:45 +02:00
rpmbuild.c Fix regression: -bp should check BuildRequires 2022-11-17 07:56:09 +02:00
rpmdb.c Set program name centrally from rpmcliInit() 2022-03-25 10:23:37 +02:00
rpmkeys.c Set program name centrally from rpmcliInit() 2022-03-25 10:23:37 +02:00
rpmpopt.in Conditionally display VCS tag in --info query 2023-03-30 12:15:25 +03:00
rpmrc.in Call RPM_CONFIGDIR just that consistently 2023-03-30 11:52:59 +03:00
rpmsign.c Set program name centrally from rpmcliInit() 2022-03-25 10:23:37 +02:00
rpmspec.c Test for preprocessor definition rather than value consistently everywhere 2022-06-15 16:24:51 +03:00
system.h Test for preprocessor definition rather than value consistently everywhere 2022-06-15 16:24:51 +03:00

README

This is RPM, the RPM Package Manager.

The latest releases are always available at:

	http://rpm.org/releases/

Additional RPM documentation (papers, slides, HOWTOs) can also be
found at the same site: http://rpm.org.

http://rpm.org/community all rpm releated mailing lists.

RPM was originally written by:

    Erik Troan <ewt@redhat.com>
    Marc Ewing <marc@redhat.com>

See the CREDITS file for a list of folks who have helped us out
tremendously.  RPM is Copyright (c) 1998 by Red Hat Software, Inc.,
and may be distributed under the terms of the GPL and LGPL (see  the
file COPYING for details).