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

BLD: fix issue with incomplete threads dependency handling #17200

Merged
merged 1 commit into from Oct 12, 2022

Conversation

rgommers
Copy link
Member

All code using #include <thread> needs to have this thread_dep dependency. HiGHS code was missing it, and for stats/_qmc_cy.pyx it was incorrectly specified.

It's wrong in the distutils build as well, but let's ignore that since it's much harder to change and we'll get rid of that build soon.

See gh-17193 for the type of compile error this causes.

All could using `#include <thread>` needs to have this `thread_dep`
dependency. HiGHS code was missing it, and for `stats/_qmc_cy.pyx`
it was incorrectly specified.

It's wrong in the distutils build as well, but let's ignore that
since it's much harder to change and we'll get rid of that build
soon.

See scipygh-17193 for the type of compile error this causes.
@rgommers rgommers added the maintenance Items related to regular maintenance tasks label Oct 11, 2022
@rgommers rgommers added this to the 1.10.0 milestone Oct 11, 2022
Copy link
Contributor

@tylerjereddy tylerjereddy left a comment

Choose a reason for hiding this comment

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

LGTM, maybe we should allow some time for @zheddie to confirm the fix though.

zheddie pushed a commit to zheddie/scipy that referenced this pull request Oct 12, 2022
@rgommers
Copy link
Member Author

@zheddie confirmed this works on OS/400 in #17193 (comment).

@rgommers rgommers merged commit 1224931 into scipy:main Oct 12, 2022
@rgommers rgommers deleted the fix-highs-threads branch October 12, 2022 05:40
@rgommers rgommers added the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Oct 12, 2022
zheddie pushed a commit to zheddie/scipy that referenced this pull request Oct 12, 2022
ev-br pushed a commit to ev-br/scipy that referenced this pull request Oct 14, 2022
All could using `#include <thread>` needs to have this `thread_dep`
dependency. HiGHS code was missing it, and for `stats/_qmc_cy.pyx`
it was incorrectly specified.

It's wrong in the distutils build as well, but let's ignore that
since it's much harder to change and we'll get rid of that build
soon.

See scipygh-17193 for the type of compile error this causes.

[ci skip]
@tylerjereddy tylerjereddy modified the milestones: 1.10.0, 1.9.3 Oct 16, 2022
tylerjereddy pushed a commit to tylerjereddy/scipy that referenced this pull request Oct 16, 2022
All could using `#include <thread>` needs to have this `thread_dep`
dependency. HiGHS code was missing it, and for `stats/_qmc_cy.pyx`
it was incorrectly specified.

It's wrong in the distutils build as well, but let's ignore that
since it's much harder to change and we'll get rid of that build
soon.

See scipygh-17193 for the type of compile error this causes.

[ci skip]
@tylerjereddy tylerjereddy removed the backport-candidate This fix should be ported by a maintainer to previous SciPy versions. label Oct 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Items related to regular maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants