python3Packages.torch: disable fortify3 hardening flag

https://hydra.nixos.org/build/226758408/nixlog/2/tail
This commit is contained in:
Vladimír Čunát
2023-07-09 08:30:26 +02:00
parent a52559d1f6
commit ff15181308
@@ -208,6 +208,9 @@ in buildPythonPackage rec {
# Use pytorch's custom configurations
dontUseCmakeConfigure = true;
# causes possible redefinition of _FORTIFY_SOURCE
hardeningDisable = [ "fortify3" ];
BUILD_NAMEDTENSOR = setBool true;
BUILD_DOCS = setBool buildDocs;