Skip to content

Commit f26c12d

Browse files
committed
build mac binaries for apple silicon versions m1 through m4
1 parent 963c188 commit f26c12d

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

Makefile.toml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,24 @@ condition = { profiles = ["production"], platforms = ["mac"] }
204204
env = { "TARGET" = "x86_64-apple-darwin", "ARCH" = "x86-64-v4" }
205205
run_task = "release"
206206

207-
[tasks.cinder-mac-aarch64]
207+
[tasks.cinder-mac-apple-m1]
208208
condition = { profiles = ["production"], platforms = ["mac"] }
209-
env = { "TARGET" = "aarch64-apple-darwin", "ARCH" = "aarch64" }
209+
env = { "TARGET" = "aarch64-apple-darwin", "ARCH" = "apple-m1" }
210+
run_task = "release"
211+
212+
[tasks.cinder-mac-apple-m2]
213+
condition = { profiles = ["production"], platforms = ["mac"] }
214+
env = { "TARGET" = "aarch64-apple-darwin", "ARCH" = "apple-m2" }
215+
run_task = "release"
216+
217+
[tasks.cinder-mac-apple-m3]
218+
condition = { profiles = ["production"], platforms = ["mac"] }
219+
env = { "TARGET" = "aarch64-apple-darwin", "ARCH" = "apple-m3" }
220+
run_task = "release"
221+
222+
[tasks.cinder-mac-apple-m4]
223+
condition = { profiles = ["production"], platforms = ["mac"] }
224+
env = { "TARGET" = "aarch64-apple-darwin", "ARCH" = "apple-m4" }
210225
run_task = "release"
211226

212227
[tasks.cinder]
@@ -224,5 +239,8 @@ run_task = { name = [
224239
"cinder-mac-x86-64-v2",
225240
"cinder-mac-x86-64-v3",
226241
"cinder-mac-x86-64-v4",
227-
"cinder-mac-aarch64",
242+
"cinder-mac-apple-m1",
243+
"cinder-mac-apple-m2",
244+
"cinder-mac-apple-m3",
245+
"cinder-mac-apple-m4",
228246
] }

0 commit comments

Comments
 (0)