Bug 1274114

Summary: Nwchem not build with %optflags
Product: [Fedora] Fedora Reporter: Susi Lehtola <susi.lehtola>
Component: nwchemAssignee: marcindulak <Marcin.Dulak>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: Marcin.Dulak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-10 08:01:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Susi Lehtola 2015-10-22 00:29:02 UTC
Nwchem isn't build with %optflags; it uses default flags from upstream.

%optflags must be used in the package build, as stipulated in the packaging guidelines.

(Also, -O3 seems used in some compilation units; this can usually safely be switched to -O2 contained in %optflags.)

Comment 1 marcindulak 2015-12-10 08:01:02 UTC
This has been discussed in bug #984605
It turned out that %optflags result in unstable build (tests failing), therefore I decided to use the flags set by the Nwchem project.