python311Packages.pytorch: mark some flags as gcc-only
This commit is contained in:
parent
534cc954e5
commit
e3d4beac9d
@ -304,12 +304,13 @@ in buildPythonPackage rec {
|
|||||||
"-Wno-pass-failed"
|
"-Wno-pass-failed"
|
||||||
] ++ [
|
] ++ [
|
||||||
"-Wno-unused-command-line-argument"
|
"-Wno-unused-command-line-argument"
|
||||||
"-Wno-maybe-uninitialized"
|
|
||||||
"-Wno-uninitialized"
|
"-Wno-uninitialized"
|
||||||
"-Wno-array-bounds"
|
"-Wno-array-bounds"
|
||||||
"-Wno-stringop-overflow"
|
|
||||||
"-Wno-free-nonheap-object"
|
"-Wno-free-nonheap-object"
|
||||||
"-Wno-unused-result"
|
"-Wno-unused-result"
|
||||||
|
] ++ lib.optionals stdenv.cc.isGNU [
|
||||||
|
"-Wno-maybe-uninitialized"
|
||||||
|
"-Wno-stringop-overflow"
|
||||||
]));
|
]));
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
Loading…
Reference in New Issue
Block a user