mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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/";
|
||||
license = licenses.bsd3;
|
||||
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
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user