|
20 | 20 | ; far more obvious.
|
21 | 21 | (define z3-install-failure #f)
|
22 | 22 |
|
23 |
| -(define z3-version "4.8.8") |
| 23 | +(define z3-version "4.12.6") |
24 | 24 |
|
25 | 25 | (define (print-failure path msg)
|
26 | 26 | (printf "\n\n********** Failed to install Z3 **********\n\n")
|
|
66 | 66 | (not (equal? (resolve-path p) p)))))
|
67 | 67 |
|
68 | 68 | (define (get-z3-url)
|
69 |
| - ; TODO: Z3 packages a macOS aarch64 binary as of 4.8.16, so remove this special case when we update |
70 |
| - ; to a newer Z3 version. |
71 |
| - (if (and (equal? (system-type 'os*) 'macosx) (equal? (system-type 'arch) 'aarch64)) |
72 |
| - (values "https://github.com/emina/rosette/releases/download/4.1/z3-4.8.8-aarch64-osx-13.3.1.zip" "z3") |
73 |
| - (let () |
74 |
| - (define site "https://github.com/Z3Prover/z3/releases/download") |
75 |
| - (define-values (os exe) |
76 |
| - (match (list (system-type 'os*) (system-type 'arch)) |
77 |
| - ['(linux x86_64) (values "x64-ubuntu-16.04" "z3")] |
78 |
| - [`(macosx ,_) (values "x64-osx-10.14.6" "z3")] |
79 |
| - ['(windows x86_64) (values "x64-win" "z3.exe")] |
80 |
| - [any (raise-user-error 'get-z3-url "No Z3 binary available for system type '~a" any)])) |
81 |
| - (define name (format "z3-~a-~a" z3-version os)) |
82 |
| - (values |
83 |
| - (format "~a/z3-~a/~a.zip" site z3-version name) |
84 |
| - (format "~a/bin/~a" name exe))))) |
| 69 | + (define site "https://github.com/Z3Prover/z3/releases/download") |
| 70 | + (define-values (os exe) |
| 71 | + (match (list (system-type 'os*) (system-type 'arch)) |
| 72 | + ['(linux x86_64) (values "x64-glibc-2.35" "z3")] |
| 73 | + ['(linux aarch64) (values "arm64-glibc-2.35" "z3")] |
| 74 | + ['(macosx x86_64) (values "x64-osx-11.7.10" "z3")] |
| 75 | + ['(macosx aarch64) (values "arm64-osx-11.0" "z3")] |
| 76 | + ['(windows x86_64) (values "x64-win" "z3.exe")] |
| 77 | + ['(windows aarch64) (values "arm64-win" "z3.exe")] |
| 78 | + [any (raise-user-error 'get-z3-url "No Z3 binary available for system type '~a" any)])) |
| 79 | + (define name (format "z3-~a-~a" z3-version os)) |
| 80 | + (values |
| 81 | + (format "~a/z3-~a/~a.zip" site z3-version name) |
| 82 | + (format "~a/bin/~a" name exe))) |
0 commit comments