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

[windows] updated v5.4.0 #65

Merged
merged 7 commits into from
Apr 18, 2020
Merged

Conversation

seanyen
Copy link

@seanyen seanyen commented Apr 14, 2020

Checklist

  • Used a 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.

@conda-forge-linter
Copy link

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) and found some lint.

Here's what I've got...

For recipe:

  • license_file entry is missing, but is required.

For recipe:

  • License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

@seanyen
Copy link
Author

seanyen commented Apr 14, 2020

@conda-forge-admin, please rerender

@conda-forge-linter
Copy link

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) and found it was in an excellent condition.

I do have some suggestions for making it better though...

For recipe:

  • License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

@seanyen
Copy link
Author

seanyen commented Apr 14, 2020

@conda-forge-admin, please rerender

@seanyen seanyen changed the title updated v5.4.0 [windows] updated v5.4.0 Apr 14, 2020
@seanyen
Copy link
Author

seanyen commented Apr 14, 2020

@conda-forge/suitesparse This is a version bump and ready for review and merge. Thanks!

@jschueller
Copy link
Contributor

please rebase from master, it's 5.7.2 now

@seanyen
Copy link
Author

seanyen commented Apr 14, 2020

@jschueller

It looks like the SuiteSparse for Windows build lives for its own on this separate branch since this and it takes the source from this project instead: https://github.com/jlblancoc/suitesparse-metis-for-windows, which attempts to keep CMake recipes for cross-platform compiling and now it is ported to v5.4.0.

I don't think doing a simple rebase of this feedstock can take it to v5.7.2. Or maybe I misread your comments? What's the step I should take?

@jschueller
Copy link
Contributor

oh, right, I did not see that.

@seanyen
Copy link
Author

seanyen commented Apr 15, 2020

@conda-forge/suitesparse @conda-forge/core This is ready for review and merge. Thanks!

@beckermr
Copy link
Member

pls only bump the team and not core on these. We can help if this is not merged for about a week or so.

recipe/meta.yaml Outdated
- {{ compiler('c') }}
- {{ compiler('cxx') }}
host:
- blas 1.1 {{ variant }}
- openblas
- tbb
- metis

run:
- blas 1.1 {{ variant }}
- openblas
Copy link
Member

Choose a reason for hiding this comment

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

This needs to be changed to the blas scheme mentioned in the docs

Copy link
Author

Choose a reason for hiding this comment

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

@isuruf Are you talking about this? https://conda-forge.readthedocs.io/en/latest/blas.html Is there any existing PR as the example how to properly add blas as dependency? I did read the doc, however I am still scratching my head how to do it right in conda-build recipe.

recipe/meta.yaml Outdated
patches:
- gh_56.patch # [win]

build:
skip: true # [win32 or unix]
number: 202
number: 0
features:
- blas_{{ variant }}
Copy link
Member

Choose a reason for hiding this comment

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

Remove these 2 lines.

@seanyen
Copy link
Author

seanyen commented Apr 15, 2020

@conda-forge-admin, please rerender.

@github-actions
Copy link
Contributor

Hi! This is the friendly automated conda-forge-webservice.
I tried to rerender for you, but it looks like there was nothing to do.

@seanyen
Copy link
Author

seanyen commented Apr 16, 2020

@isuruf Btw, I saw there are some warnings like these:

Do you recommend to add libopenblas to the run requirements? Currently I am only adding blas meta-package as the run dependency.

WARNING (suitesparse,Library\bin\cholmod.dll): Needed DSO Library\bin\openblas.dll found in ['libopenblas']
WARNING (suitesparse,Library\bin\cholmod.dll): .. but ['libopenblas'] not in reqs/run, (i.e. it is overlinking) (likely) or a missing dependency (less likely)

@seanyen
Copy link
Author

seanyen commented Apr 16, 2020

@isuruf hmm, the CI seems not to like the changes. What should we do for the next step?

@isuruf
Copy link
Member

isuruf commented Apr 16, 2020

Try deleting %PREFIX%/Library/lib/cmake/ ?

@seanyen
Copy link
Author

seanyen commented Apr 16, 2020

@isuruf Just wondering, what's the latest doc for how to integrate with blas? Is this one still up-to-dated? https://conda-forge.readthedocs.io/en/latest/blas.html

@isuruf
Copy link
Member

isuruf commented Apr 16, 2020

@seanyen
Copy link
Author

seanyen commented Apr 16, 2020

I see, so I probably looked at a old site (https://conda-forge.readthedocs.io/) instead of the latest one (https://conda-forge.org/docs/index.html).

@isuruf
Copy link
Member

isuruf commented Apr 16, 2020

Thanks. I'll see if I can get that old site deleted.

@seanyen
Copy link
Author

seanyen commented Apr 16, 2020

@conda-forge/suitesparse Friendly ping. I think this is ready for merge. Thanks.

@h-vetinari
Copy link
Member

h-vetinari commented Apr 17, 2020

Great to see this happening. I was planning to get around to doing this myself after having built suitesparse for windows within conda-forge/cvxopt-feedstock#42.

I detailed some of that in #51 - I believe (hope?) that metis is not necessary and that we can go to 5.7.2 directly.

@seanyen
Copy link
Author

seanyen commented Apr 17, 2020

Great to see this happening. I was planning to get around to doing this myself after having built suitesparse for windows within conda-forge/cvxopt-feedstock#42.

Happy to see the progress on this too. For my short-term goal, I just want to have ceres Windows port with suitesparse enabled, so I can do a conda-forge feedstock for https://github.com/cartographer-project/cartographer. And I am happy to see any attempts to get it converged toward to that direction. :)

@grlee77
Copy link
Member

grlee77 commented Apr 17, 2020

I am inclined to go ahead and merge this soon given that it is now passing CI. That said, I don't have experience with Windows + SuitSparse/METIS and would appreciate any feedback from other maintainers.

@h-vetinari
Copy link
Member

@seanyen True, there's no reason not to merge this, any progress can come on top of this PR.

@basnijholt basnijholt added the automerge Merge the PR when CI passes label Apr 18, 2020
@basnijholt basnijholt merged commit 14469bf into conda-forge:windows Apr 18, 2020
@seanyen seanyen deleted the seanyen/windows branch April 18, 2020 19:52
@seanyen
Copy link
Author

seanyen commented Apr 18, 2020

Thank you all!

@minrk minrk mentioned this pull request May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge the PR when CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants