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 07:40:07 +02:00
parent a52559d1f6
commit ff15181308
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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;