File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ let package = Package(
33
33
) ,
34
34
. package (
35
35
url: " https://github.com/apple/swift-async-algorithms " , . upToNextMinor( from: " 1.0.0 " ) ) ,
36
+ . package ( url: " https://github.com/1024jp/GzipSwift " , " 6.0.1 " ... " 6.0.1 " ) , // Only needed by MLXMNIST
36
37
] ,
37
38
targets: [
38
39
. target(
@@ -142,13 +143,6 @@ let package = Package(
142
143
]
143
144
)
144
145
145
- // Add GzipSwift dependency only when building MLXMNIST
146
- if package . targets. contains ( where: { $0. name == " MLXMNIST " } ) {
147
- package . dependencies. append (
148
- . package ( url: " https://github.com/1024jp/GzipSwift " , " 6.0.1 " ... " 6.0.1 " )
149
- )
150
- }
151
-
152
146
if Context . environment [ " MLX_SWIFT_BUILD_DOC " ] == " 1 "
153
147
|| Context . environment [ " SPI_GENERATE_DOCS " ] == " 1 "
154
148
{
You can’t perform that action at this time.
0 commit comments