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

lammps and python312Packages.lammps related fixes #342532

Merged
merged 4 commits into from
Sep 30, 2024

Conversation

doronbehar
Copy link
Contributor

@doronbehar doronbehar commented Sep 17, 2024

Found out this was needed when trying to override the python package to use a LAMMPS compiled with GPU support.

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@doronbehar doronbehar changed the title python312Packages.lammps: disable tests if GPU package is enabled lammps and python312Packages.lammps related fixes Sep 17, 2024
Makes this warning by PyLammps go away:

> WARNING: run thermo data not captured since PYTHON LAMMPS package is not enabled
Copy link
Member

@markuskowa markuskowa left a comment

Choose a reason for hiding this comment

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

LGTM.
Sorry for the delay. The pkgs/by-name infrastructure is not my area of expertise. I'll leave that to @infinisil to make architectural decisions.

@doronbehar
Copy link
Contributor Author

LGTM.
Sorry for the delay. The pkgs/by-name infrastructure is not my area of expertise.

It's OK, no need to be sorry :). This was an open debate that legitimately held this PR open. Now we can discuss it elsewhere (in #342621)

@doronbehar doronbehar merged commit 546d75c into NixOS:master Sep 30, 2024
27 checks passed
@doronbehar doronbehar deleted the pkg/python.lammps branch September 30, 2024 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants