We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 534cc95 commit e3d4beaCopy full SHA for e3d4bea
1 file changed
pkgs/development/python-modules/torch/default.nix
@@ -304,12 +304,13 @@ in buildPythonPackage rec {
304
"-Wno-pass-failed"
305
] ++ [
306
"-Wno-unused-command-line-argument"
307
- "-Wno-maybe-uninitialized"
308
"-Wno-uninitialized"
309
"-Wno-array-bounds"
310
- "-Wno-stringop-overflow"
311
"-Wno-free-nonheap-object"
312
"-Wno-unused-result"
+ ] ++ lib.optionals stdenv.cc.isGNU [
+ "-Wno-maybe-uninitialized"
313
+ "-Wno-stringop-overflow"
314
]));
315
316
nativeBuildInputs = [
0 commit comments