rpms/redhat-rpm-config/F-9 limit-smp-16-threads.patch, NONE, 1.1 redhat-rpm-config.spec, 1.53, 1.54
Dennis Gilmore (ausil)
fedora-extras-commits at redhat.com
Tue May 20 19:21:02 UTC 2008
- Previous message: rpms/xorg-x11-drv-geode/devel dcon.patch, NONE, 1.1 fix-memory-mapping.patch, NONE, 1.1 sources, 1.2, 1.3 xorg-x11-drv-geode.spec, 1.2, 1.3
- Next message: rpms/cluster/devel cluster.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: ausil
Update of /cvs/pkgs/rpms/redhat-rpm-config/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21504
Modified Files:
redhat-rpm-config.spec
Added Files:
limit-smp-16-threads.patch
Log Message:
limit smp_mflags to 16 when we use 32 we get things building out of order
limit-smp-16-threads.patch:
--- NEW FILE limit-smp-16-threads.patch ---
diff -Nur redhat-rpm-config-9.0.2-orig/macros redhat-rpm-config-9.0.2/macros
--- redhat-rpm-config-9.0.2-orig/macros 2008-04-03 02:14:54.000000000 -0500
+++ redhat-rpm-config-9.0.2/macros 2008-05-20 13:33:15.000000000 -0500
@@ -68,7 +68,8 @@
%_smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \\\
&& RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
- [ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS")
+ if [ "$RPM_BUILD_NCPUS" -gt 16 ]; then echo "-j16"; \\\
+ elif [ "$RPM_BUILD_NCPUS" -gt 1 ]; then echo "-j$RPM_BUILD_NCPUS"; fi)
#==============================================================================
# ---- Build policy macros.
Index: redhat-rpm-config.spec
===================================================================
RCS file: /cvs/pkgs/rpms/redhat-rpm-config/F-9/redhat-rpm-config.spec,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- redhat-rpm-config.spec 3 Apr 2008 07:23:59 -0000 1.53
+++ redhat-rpm-config.spec 20 May 2008 19:20:15 -0000 1.54
@@ -1,10 +1,11 @@
Summary: Red Hat specific rpm configuration files.
Name: redhat-rpm-config
Version: 9.0.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPL
Group: Development/System
Source: redhat-rpm-config-%{version}.tar.bz2
+Patch0: limit-smp-16-threads.patch
BuildArch: noarch
Requires: mktemp
# if rpm-build is present (thus building rpms), we need newer for
@@ -21,6 +22,7 @@
%prep
%setup -q
+%patch0 -p1
%install
make DESTDIR=${RPM_BUILD_ROOT} install
@@ -33,6 +35,9 @@
%{_prefix}/lib/rpm/redhat
%changelog
+* Tue May 20 2008 Dennis Gilmore <dennis at ausil.us> - 9.0.2-2
+- limit smp to 16 threads
+
* Thu Apr 03 2008 Jon Masters <jcm at redhat.com> - 9.0.2-1
- Remove smp dependencies
- Update config.guess|sub files
- Previous message: rpms/xorg-x11-drv-geode/devel dcon.patch, NONE, 1.1 fix-memory-mapping.patch, NONE, 1.1 sources, 1.2, 1.3 xorg-x11-drv-geode.spec, 1.2, 1.3
- Next message: rpms/cluster/devel cluster.spec,1.1,1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list