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:
@@ -164,6 +164,9 @@ in buildPythonPackage rec {
|
|||||||
BUILD_NAMEDTENSOR = setBool true;
|
BUILD_NAMEDTENSOR = setBool true;
|
||||||
BUILD_DOCS = setBool buildDocs;
|
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");
|
USE_MKL = setBool (blas.implementation == "mkl");
|
||||||
|
|
||||||
# Unlike MKL, oneDNN (née MKLDNN) is FOSS, so we enable support for
|
# Unlike MKL, oneDNN (née MKLDNN) is FOSS, so we enable support for
|
||||||
|
|||||||
Reference in New Issue
Block a user