Skip to content

tree-wide: cudaPackages.cudaFlags -> cudaPackages.flags - #406545

Merged
SomeoneSerge merged 1 commit into
NixOS:masterfrom
ConnorBaker:feat/cuda-packages-remove-cuda-flags-alias
May 12, 2025
Merged

SomeoneSerge merged 1 commit into
NixOS:masterfrom
ConnorBaker:feat/cuda-packages-remove-cuda-flags-alias

Conversation

@ConnorBaker

@ConnorBaker ConnorBaker commented May 12, 2025 •

Copy link
Copy Markdown
Contributor

Per discussion in #405751, deprecate cudaFlags in favor of flags.

As an organizational change, this PR should cause no rebuilds.

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)
    • sandbox = relaxed
    • sandbox = true
  • 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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

@ConnorBaker ConnorBaker self-assigned this May 12, 2025
@ConnorBaker ConnorBaker added the 6.topic: cuda Parallel computing platform and API label May 12, 2025
@github-actions github-actions Bot added the 6.topic: python Python is a high-level, general-purpose programming language. label May 12, 2025
@ConnorBaker ConnorBaker moved this from New to 🏗 In progress in CUDA Team May 12, 2025
@ConnorBaker
ConnorBaker force-pushed the feat/cuda-packages-remove-cuda-flags-alias branch from caef4ed to 4938f79 Compare May 12, 2025 19:36
@ConnorBaker

Copy link
Copy Markdown
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 406545


x86_64-linux


x86_64-darwin


aarch64-darwin

@ConnorBaker
ConnorBaker marked this pull request as ready for review May 12, 2025 19:38
@ConnorBaker ConnorBaker moved this from 🏗 In progress to 👀 Awaits reviews in CUDA Team May 12, 2025
@ConnorBaker
ConnorBaker requested a review from SomeoneSerge May 12, 2025 19:38
@github-actions github-actions Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels May 12, 2025
@SomeoneSerge
SomeoneSerge merged commit c0ecb20 into NixOS:master May 12, 2025
@github-project-automation github-project-automation Bot moved this from 👀 Awaits reviews to ✅ Done in CUDA Team May 12, 2025
@nixos-discourse

Copy link
Copy Markdown

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/breaking-changes-announcement-for-unstable/17574/80

Comment on lines -85 to -86
# TODO(@connorbaker): `cudaFlags` is an alias for `flags` which should be removed in the future.
cudaFlags = flags;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should probably be kept with a warning until 25.05 branchoff, no?

@ConnorBaker ConnorBaker May 14, 2025 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@ConnorBaker
ConnorBaker deleted the feat/cuda-packages-remove-cuda-flags-alias branch May 14, 2025 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: cuda Parallel computing platform and API 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants