powsybl / pypowsybl

A PowSyBl and Python integration based on GraalVM native image
Mozilla Public License 2.0
57 stars 12 forks source link

Fix MSVC runtime binaries incompatibility issues #803

Closed obrix closed 3 months ago

obrix commented 3 months ago

Add MT flag and define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR as a failsafe.

See https://github.com/actions/runner-images/issues/10004#issuecomment-2156109231 for detailed information on issue. and https://developercommunity.visualstudio.com/t/Access-violation-in-_Thrd_yield-after-up/10664660#T-N10669129-N10678728

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem?

What kind of change does this PR introduce?

What is the current behavior?

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change or deprecate an API?

If yes, please check if the following requirements are fulfilled

What changes might users need to make in their application due to this PR? (migration steps)

Other information: