guix/gnu
Zhu Zihao 0e64835b2e
gnu: z3: Prefer CMake to build the package.
Z3 developer recommends to use CMake to build Z3 except the OCaml bindings.
Use CMake also enable us to cross compile z3.

* gnu/packages/maths.scm (z3)[build-system]: Use cmake-build-system.
[arguments]<#:configure-flags>: Add flags for CMake.
<#:phases>: Remove stale phase 'fix-compatability'.
In phase 'check', build the z3 test binary and don't test when cross
compiling.
Add phase 'compile-python-modules' phase to generate python bytecode cache for
z3 python binding.
Add phase 'fix-z3-library-path' to help z3 pythong binding to find the z3
shared library.

(ocaml-z3)[build-system]: Override the inherited value with 'gnu-build-system'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2022-07-04 12:29:04 +02:00
..
bootloader
build
home
installer
machine
packages gnu: z3: Prefer CMake to build the package. 2022-07-04 12:29:04 +02:00
services services: guix-build-coordinator: Fix passing parallel-hooks. 2022-07-03 20:38:09 +01:00
system
tests
artwork.scm
bootloader.scm
ci.scm
home.scm
image.scm
installer.scm
local.mk gnu: tbb: Fix building on riscv64-linux. 2022-07-04 11:14:41 +03:00
machine.scm
packages.scm
services.scm
system.scm
tests.scm