Skip to content

Commit 57ff878

Browse files
spark2014.anod: use aarch64 binaries for CVC5 and Z3 on macos-aarch64
1 parent f1cea1d commit 57ff878

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

specs/spark2014.anod

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,11 @@ class SPARK2014(spec("common")):
3131
def cvc5_binary(self):
3232
if self.env.host.os.name == "windows":
3333
fn = "cvc5-Win64.exe"
34-
elif self.env.host.os.name == "darwin":
34+
elif self.env.host.os.name == "darwin" and \
35+
self.env.target.cpu.name == "x86_64":
3536
fn = "cvc5-macOS"
37+
elif self.env.host.os.name == "darwin":
38+
fn = "cvc5-macOS-arm64"
3639
else:
3740
fn = "cvc5-linux"
3841
return fn
@@ -41,8 +44,11 @@ class SPARK2014(spec("common")):
4144
def z3_zip(self):
4245
if self.env.host.os.name == "windows":
4346
fn = "z3-4.12.2-x64-win.zip"
44-
elif self.env.host.os.name == "darwin":
47+
elif self.env.host.os.name == "darwin" and \
48+
self.env.target.cpu.name == "x86_64":
4549
fn = "z3-4.12.2-x64-osx-10.16.zip"
50+
elif self.env.host.os.name == "darwin":
51+
fn = "z3-4.12.2-arm64-osx-11.0.zip"
4652
else:
4753
fn = "z3-4.12.2-x64-glibc-2.31.zip"
4854
return fn

0 commit comments

Comments
 (0)