python3Packages.torch: Suppress spammy warnings#266995
python3Packages.torch: Suppress spammy warnings#266995Artturin merged 1 commit intoNixOS:staging-nextfrom
Conversation
5880bf7 to
113a33e
Compare
|
Suppressed the worst of the warnings for regular and ROCm variants. |
|
Would be a good idea to add a comment explaining why the flags were added. |
|
Could you please rebase this on staging-next? The flags there are different for Clang support. |
|
113a33e to
f0357ed
Compare
Suppresses the most spammy warnings. This is mainly to fix NixOS#266895.
f0357ed to
c8f136c
Compare
|
Has anyone tested this on darwin before merging? It seems that some flags are not recognized by Clang in #267209. |
Description of changes
Fixes #266895
Before it is asked, we cannot just simply define theHIP_CXX_FLAGSvariable inpreConfigure.Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)