python3Packages.torchvision: use default SDK on Darwin (14.4)

This commit is contained in:
Randy Eckenrode
2025-10-09 18:23:30 -04:00
parent ca24684803
commit 28f33de7dd
@@ -2,7 +2,6 @@
lib,
stdenv,
torch,
apple-sdk_13,
buildPythonPackage,
darwinMinVersionHook,
fetchFromGitHub,
@@ -55,14 +54,6 @@ buildPythonPackage {
libjpeg_turbo
libpng
torch.cxxdev
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# This should match the SDK used by `torch` above
apple-sdk_13
# error: unknown type name 'MPSGraphCompilationDescriptor'; did you mean 'MPSGraphExecutionDescriptor'?
# https://developer.apple.com/documentation/metalperformanceshadersgraph/mpsgraphcompilationdescriptor/
(darwinMinVersionHook "12.0")
];
dependencies = [