Merge pull request #232457 from wegank/cudatoolkit-eval-1
python310Packages.torch: restrict platforms
This commit is contained in:
commit
d1bc3181fd
|
@ -414,7 +414,7 @@ in buildPythonPackage rec {
|
||||||
homepage = "https://pytorch.org/";
|
homepage = "https://pytorch.org/";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ teh thoughtpolice tscholak ]; # tscholak esp. for darwin-related builds
|
maintainers = with maintainers; [ teh thoughtpolice tscholak ]; # tscholak esp. for darwin-related builds
|
||||||
platforms = with platforms; linux ++ lib.optionals (!cudaSupport || !rocmSupport) darwin;
|
platforms = with platforms; linux ++ lib.optionals (!cudaSupport && !rocmSupport) darwin;
|
||||||
broken = rocmSupport && cudaSupport; # CUDA and ROCm are mutually exclusive
|
broken = rocmSupport && cudaSupport; # CUDA and ROCm are mutually exclusive
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue