python3Packages.pytorch: disable building of tests

- We do not run them.
- The test binaries are installed into site-packages by default.
This commit is contained in:
Daniël de Kok 2021-04-10 08:09:38 +02:00
parent 4f876309fe
commit 209f4678f2

View File

@ -164,6 +164,9 @@ in buildPythonPackage rec {
BUILD_NAMEDTENSOR = setBool true;
BUILD_DOCS = setBool buildDocs;
# We only do an imports check, so do not build tests either.
BUILD_TEST = setBool false;
USE_MKL = setBool (blas.implementation == "mkl");
# Unlike MKL, oneDNN (née MKLDNN) is FOSS, so we enable support for