python3Packages.torchvision: use default SDK on Darwin (14.4)
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user