Bug 1274114 - Nwchem not build with %optflags
Nwchem not build with %optflags
Product: Fedora
Classification: Fedora
Component: nwchem (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: marcindulak
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2015-10-21 20:29 EDT by Susi Lehtola
Modified: 2015-12-10 03:01 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-12-10 03:01:02 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Susi Lehtola 2015-10-21 20:29:02 EDT
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 03:01:02 EST
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.

Note You need to log in before you can comment on or make changes to this bug.