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

Add Package: bigdft-suite #19683

Merged
merged 78 commits into from
Oct 6, 2022
Merged

Add Package: bigdft-suite #19683

merged 78 commits into from
Oct 6, 2022

Conversation

william-dawson
Copy link
Contributor

@william-dawson william-dawson commented Jul 16, 2022

Checklist

  • Title of this PR is meaningful: e.g. "Adding my_nifty_package", not "updated meta.yaml".
  • License file is packaged (see here for an example).
  • Source is from official source.
  • Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).
  • If static libraries are linked in, the license of the static library is packaged.
  • Package does not ship static libraries. If static libraries are needed, follow CFEP-18.
  • Build number is 0.
  • A tarball (url) rather than a repo (e.g. git_url) is used in your recipe (see here for more details).
  • GitHub users listed in the maintainer section have posted a comment confirming they are willing to be listed there.
  • When in trouble, please check our knowledge base documentation before pinging a team.

@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 (recipes/bigdft) and found some lint.

Here's what I've got...

For recipes/bigdft:

  • The top level meta keys are in an unexpected order. Expecting ['package', 'source', 'build', 'requirements', 'test', 'about', 'extra'].
  • license_file entry is missing, but is required.

For recipes/bigdft:

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

Documentation on acceptable licenses can be found here.

@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 (recipes/bigdft) and found it was in an excellent condition.

@william-dawson
Copy link
Contributor Author

Is libfmalloc part of this package or are you redistributing?

Shipping static libraries is not allowed. The following libs are being shipped statically: abinit, atlab, bigdft, CheSS, dics, futile, Galn, orbs, Psolver.

_jhbuild/ is in included in the artifacts, is the supposed to be shipped?

I've set my install script to remove the _jhbuild directory as it seems to be only used at build time. I've also modified the configuration lines to build dynamic versions of the libraries (and remove the static versions). This indeed includes libfmalloc, which is our Fortran module for managing dynamic memory.

I think I have addressed all your suggestions, but let me know if I missed or misunderstood something. We appreciate the feedback!

recipes/bigdft/meta.yaml Outdated Show resolved Hide resolved
recipes/bigdft/test.py Show resolved Hide resolved
recipes/bigdft/run_test.sh Show resolved Hide resolved

log = code.run(sys=sys, input=inp)
print(log.energy)

Copy link
Member

Choose a reason for hiding this comment

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

The tests in this conda recipe are for packaging validation, so their purpose is to check that the artifacts were installed correctly. They are not necessarily a comment on whether a feature of the package is deprecated or considered experimental. If you expect that an end user of this package would still be importing the CheSS module, then you should test it.

william-dawson and others added 3 commits September 6, 2022 14:39
Check for headers and versioned SO

Co-authored-by: Daniel Ching <[email protected]>
This is an upstream issue
@william-dawson
Copy link
Contributor Author

@carterbox I've gone through the most recent suggestions. For the testing of the dynamic libraries you suggested, I had to remove liborbs from the list, as there is an issue with the symbolic link. I will report that upstream. For the CheSS and gi modules, thank you for the clarification. There is essentially a 0% chance someone would include it in their code, so I think it is safe to leave that test out.

Copy link
Contributor Author

@william-dawson william-dawson left a comment

Choose a reason for hiding this comment

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

(see individual comments)

@carterbox
Copy link
Member

@conda-forge/help-python-c, please review

Copy link
Member

@carterbox carterbox left a comment

Choose a reason for hiding this comment

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

Apparently, I'm the only reviewer of compiled packages right now. 😆

@carterbox carterbox merged commit 2f444f0 into conda-forge:main Oct 6, 2022
@william-dawson
Copy link
Contributor Author

Apparently, I'm the only reviewer of compiled packages right now. 😆

Be sure to add that you to CV 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

8 participants