tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
python311Packages.pytorch: mark some flags as gcc-only
Weijia Wang
2 years ago
e3d4beac
534cc954
+3
-2
1 changed file
expand all
collapse all
unified
split
pkgs
development
python-modules
torch
default.nix
+3
-2
pkgs/development/python-modules/torch/default.nix
···
304
304
"-Wno-pass-failed"
305
305
] ++ [
306
306
"-Wno-unused-command-line-argument"
307
307
-
"-Wno-maybe-uninitialized"
308
307
"-Wno-uninitialized"
309
308
"-Wno-array-bounds"
310
310
-
"-Wno-stringop-overflow"
311
309
"-Wno-free-nonheap-object"
312
310
"-Wno-unused-result"
311
311
+
] ++ lib.optionals stdenv.cc.isGNU [
312
312
+
"-Wno-maybe-uninitialized"
313
313
+
"-Wno-stringop-overflow"
313
314
]));
314
315
315
316
nativeBuildInputs = [