visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
440 stars 116 forks source link

bv gcc by name check fix #19980

Closed cyrush closed 3 weeks ago

cyrush commented 3 weeks ago

Description

Resolves #19693

Remaining cases of direct check for "gcc" were only used to set OPT compiler flags to -O2.

Removes these checks in favor of just always included -O2 as OPT where this was checked.

Type of change

build_visit change

Reminders:

Checklist:

- [ ] I have commented my code where applicable. - [ ] I have updated the release notes. - [ ] I have made corresponding changes to the documentation. - [ ] I have added debugging support to my changes. - [ ] I have added tests that prove my fix is effective or that my feature works. - [ ] I have confirmed new and existing unit tests pass locally with my changes. - [ ] I have added new baselines for any new tests to the repo.