Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues identified by _GLIBCXX_ASSERTIONS and various build warnings #1441

Merged
merged 7 commits into from
Feb 25, 2023

Conversation

speth
Copy link
Member

@speth speth commented Feb 24, 2023

Changes proposed in this pull request

  • Fixes some errors identified by compiling with the _GLIBCXX_ASSERTIONS macro defined
  • Update CI configurations to use this macro on some builders (the standard Ubuntu builds)
  • Fix some other build warnings associated with new versions of some build tools
  • Modest speed improvement for incremental builds by not scanning non-Cantera headers for changes

If applicable, fill in the issue number this pull request is fixing

Closes #1430

If applicable, provide an example illustrating new features this pull request is introducing

Checklist

  • The pull request includes a clear description of this code change
  • Commit messages have short titles and reference relevant issues
  • Build passes (scons build & scons test) and unit tests address code coverage
  • Style & formatting of contributed code follows contributing guidelines
  • The pull request is ready for review

@speth speth force-pushed the fix-glibcxx-assertions branch 2 times, most recently from 7fd9fdc to 270482f Compare February 24, 2023 16:59
@codecov
Copy link

codecov bot commented Feb 24, 2023

Codecov Report

Merging #1441 (ec523de) into main (924bdf3) will increase coverage by 0.00%.
The diff coverage is 72.22%.

@@           Coverage Diff           @@
##             main    #1441   +/-   ##
=======================================
  Coverage   70.92%   70.92%           
=======================================
  Files         369      369           
  Lines       55227    55232    +5     
  Branches    18194    18196    +2     
=======================================
+ Hits        39171    39176    +5     
  Misses      13595    13595           
  Partials     2461     2461           
Impacted Files Coverage Δ
src/numerics/AdaptivePreconditioner.cpp 67.69% <0.00%> (ø)
src/transport/IonGasTransport.cpp 73.89% <50.00%> (-0.11%) ⬇️
src/equil/vcs_solve_TP.cpp 61.43% <66.66%> (+0.04%) ⬆️
src/base/SolutionArray.cpp 77.80% <100.00%> (+0.10%) ⬆️
src/equil/MultiPhase.cpp 69.26% <100.00%> (ø)
src/oneD/Sim1D.cpp 74.17% <100.00%> (+0.11%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Setuptools started giving the warning:

"Installing 'cantera.test' as data is deprecated, please list it in
`packages`."

for the data, test, and examples directories.
Copy link
Member

@ischoegl ischoegl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fixes! While the ANOTE work-arounds point to a need for a better logging solution long-term, the changes look good to me.

@speth speth merged commit 6392724 into Cantera:main Feb 25, 2023
@speth speth deleted the fix-glibcxx-assertions branch July 23, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in kinetics test with _GLIBCXX_ASSERTIONS
2 participants