Skip to content

Workaround for optimization bug in MSVC 17.14.36203.30#1913

Merged
speth merged 1 commit intoCantera:mainfrom
speth:msvc17.14-workaround
Jun 21, 2025
Merged

Workaround for optimization bug in MSVC 17.14.36203.30#1913
speth merged 1 commit intoCantera:mainfrom
speth:msvc17.14-workaround

Conversation

@speth
Copy link
Copy Markdown
Member

@speth speth commented Jun 20, 2025

All MSVC CI builds are currently failing due to a recent update of the GitHub Actions runners to use Visual Studio 2022 version 17.14.36203.30 (updated from 17.13.35825.156; see here. This version has a bug in the code optimization which affects use of std::transform. See the issue report here. The issues is already fixed upstream, but I don't know know how long that will take to filter down into a VS update followed by an update to the GitHub actions runners.

Changes proposed in this pull request

  • Disable optimization of MSVC builds for now
  • On the builds where we're using conda, link to OpenBLAS to avoid needing to run unoptimized linear algebra methods

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 added the CI label Jun 20, 2025
@speth speth marked this pull request as draft June 20, 2025 19:57
@speth speth force-pushed the msvc17.14-workaround branch from a682fa9 to c1c9eb1 Compare June 20, 2025 23:12
@speth speth marked this pull request as ready for review June 21, 2025 00:07
@speth speth requested a review from a team June 21, 2025 01:30
@speth speth enabled auto-merge (rebase) June 21, 2025 01:30
Copy link
Copy Markdown
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.

Thanks for addressing this upstream issue, @speth! This all looks good to me.

@speth speth merged commit 0158dd7 into Cantera:main Jun 21, 2025
51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants