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

patch configure to link -lpthread on windows #28

Merged
merged 10 commits into from
Oct 14, 2024

Conversation

brendanf
Copy link
Contributor

@brendanf brendanf commented Oct 12, 2024

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@brendanf brendanf requested a review from a team as a code owner October 12, 2024 09:26
@brendanf
Copy link
Contributor Author

@conda-forge-admin, please rerender

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I was trying to look for recipes to lint for you, but it appears we have a merge conflict. Please try to merge or rebase with the base branch to resolve this conflict.

Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

@brendanf
Copy link
Contributor Author

@conda-forge-admin, please rerender

@brendanf brendanf force-pushed the v1.8.0fix branch 2 times, most recently from 2e26672 to e90485f Compare October 12, 2024 11:00
@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found some lint.

Here's what I've got...

For recipe/meta.yaml:

  • The source section contained an unexpected subsection name. patch is not a valid subsection name.

For recipe/meta.yaml:

  • Jinja2 variable references are suggested to take a {{<one space><variable name><one space>}} form. See lines [42].

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.
I do have some suggestions for making it better though...

For recipe/meta.yaml:

  • Jinja2 variable references are suggested to take a {{<one space><variable name><one space>}} form. See lines [43].

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.

@brendanf
Copy link
Contributor Author

I also opened a PR to patch this upstream r-lib/ps#182

@brendanf
Copy link
Contributor Author

@conda-forge/r ready for review. Changes welcome.

@brendanf
Copy link
Contributor Author

Fixes #27

@brendanf
Copy link
Contributor Author

@conda-forge-admin, please rerender

Copy link
Member

@mfansler mfansler 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 working on this! ❤️

As long as the patch gets -pthread flag included during link, then the dependencies shouldn't need adjustment.

recipe/meta.yaml Outdated Show resolved Hide resolved
recipe/meta.yaml Outdated Show resolved Hide resolved
@brendanf
Copy link
Contributor Author

@mfansler You are right, that worked.

@brendanf
Copy link
Contributor Author

The reason I originally added libwinpthreads as a requirement is that I just recently submitted a PR for a new package that also uses -lpthread in Windows and got an error that it was overdepending on libwinpthread-1.dll, which I resolved by adding the package to run:. Is staged recipes running a different build process?

@mfansler
Copy link
Member

The reason I originally added libwinpthreads as a requirement is that I just recently submitted a PR for a new package that also uses -lpthread in Windows and got an error that it was overdepending on libwinpthread-1.dll, which I resolved by adding the package to run:. Is staged recipes running a different build process?

Yes, there is an interim period when migrating R versions that staged-recipes still follows the previous standards, while migrated feedstocks should be following the latest practice. This is particularly stark difference as Windows is both switching to UCRT and jumping from R 4.1 to R 4.3/4.4. Plus, this migration has gone on far longer than the last few. Hopefully, we can start wrapping up soonish.

Copy link
Member

@mfansler mfansler left a comment

Choose a reason for hiding this comment

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

Thanks again!

@mfansler mfansler merged commit 106a9f9 into conda-forge:main Oct 14, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants