Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908835 - =sci-libs/trilinos-14.0.0: optimization CXXFLAGS not respected
Summary: =sci-libs/trilinos-14.0.0: optimization CXXFLAGS not respected
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-19 10:24 UTC by Michael Orlitzky
Modified: 2023-12-07 05:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2023-06-19 10:24:54 UTC
I'm testing a suitesparse upgrade right now and noticed this:

  Building CXX object ... -O2 -pipe -march=native -O0 -fopenmp  -O3

My CXXFLAGS are "-O2 -pipe -march=native -O0" (I appended the -O0 to speed up the build), but since the -O3 comes after, it's being ignored.
Comment 1 Matthias Maier gentoo-dev 2023-12-07 05:25:11 UTC
The trilinos build system has the bad habit of hard coding the "-O3" optimization flag in quite a number of places.