Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 947112 Details for
Bug 1152896
build fails on machine with too many cpu cores
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Proposed patch - honor %_smp_ncpus_max
java-1.8.0-openjdk-honor-cpulimit.patch (text/plain), 616 bytes, created by
Tuomo Soini
on 2014-10-15 07:24:28 UTC
(
hide
)
Description:
Proposed patch - honor %_smp_ncpus_max
Filename:
MIME Type:
Creator:
Tuomo Soini
Created:
2014-10-15 07:24:28 UTC
Size:
616 bytes
patch
obsolete
>diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec >index de4e0d0..0ea219c 100644 >--- a/java-1.8.0-openjdk.spec >+++ b/java-1.8.0-openjdk.spec >@@ -483,8 +483,12 @@ done > > %build > # How many cpu's do we have? >-export NUM_PROC=`/usr/bin/getconf _NPROCESSORS_ONLN 2> /dev/null || :` >+export NUM_PROC=%(/usr/bin/getconf _NPROCESSORS_ONLN 2> /dev/null || :) > export NUM_PROC=${NUM_PROC:-1} >+%if 0%{?_smp_ncpus_max} >+# Honor %%_smp_ncpus_max >+[ ${NUM_PROC} -gt %{?_smp_ncpus_max} ] && export NUM_PROC=%{?_smp_ncpus_max} >+%endif > > # Build IcedTea and OpenJDK. > %ifarch s390x sparc64 alpha %{power64} %{aarch64}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1152896
: 947112