diff options
author | Sören Tempel <soeren@soeren-tempel.net> | 2025-05-04 19:40:28 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-05-14 14:55:57 +0200 |
commit | db1f83485babd31c15b3a6e0659a4383ae8b4b81 (patch) | |
tree | 605df9eb38e9fc4e863deacb66806440fbf29676 | |
parent | bf0bfb38cf7d90965f7f321e1b9d868b0885f6b3 (diff) | |
download | guix-db1f83485babd31c15b3a6e0659a4383ae8b4b81.tar.gz guix-db1f83485babd31c15b3a6e0659a4383ae8b4b81.zip |
gnu: Add bitwuzla.
* gnu/packages/maths.scm (bitwuzla): New variable.
Change-Id: I23325bade58dc2d72b598a961c2dcf4e1edd362f
Signed-off-by: Andreas Enge <andreas@enge.fr>
-rw-r--r-- | gnu/packages/maths.scm | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 8efaaf96bc..eea9f8f718 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -8289,6 +8289,42 @@ operations.") (home-page "https://github.com/martin-cs/symfpu") (license license:gpl3+)))) +(define-public bitwuzla + (package + (name "bitwuzla") + (version "0.7.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/bitwuzla/bitwuzla") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1fpd1kgb5xdbcjiqbbc6j0b8g2ly9bp9m3la78fiayl4qlmsvh2b")))) + (build-system meson-build-system) + (arguments + `(#:configure-flags '("-Dtesting=enabled" "-Ddefault_library=shared" + "-Dkissat=true") + #:phases (modify-phases %standard-phases + (add-after 'unpack 'make-git-optional + (lambda _ + (substitute* "src/meson.build" + (("run_command\\('git',") + "run_command('sh', '-c', 'git',"))))))) + (native-inputs (list googletest pkg-config)) + (inputs (list cadical + gmp + kissat + symfpu)) + (synopsis "SMT solver optimized for the theory of bit-vectors") + (description + "Bitwuzla is a @acronym{SMT, Satisfiability Modulo Theories} solver +for the theories of fixed-size bit-vectors, floating-point arithmetic, +arrays, uninterpreted functions and their combinations.") + (home-page "https://bitwuzla.github.io/") + (license license:expat))) + (define-public z3 (package (name "z3") |