8eef1e1488
For change log since v4.11.2, see: - https://github.com/Z3Prover/z3/releases/tag/z3-4.12.0 Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
23 lines
608 B
Makefile
23 lines
608 B
Makefile
################################################################################
|
|
#
|
|
# z3
|
|
#
|
|
################################################################################
|
|
|
|
Z3_VERSION = 4.12.0
|
|
Z3_SITE = $(call github,Z3Prover,z3,z3-$(Z3_VERSION))
|
|
Z3_LICENSE = MIT
|
|
Z3_LICENSE_FILES = LICENSE.txt
|
|
Z3_INSTALL_STAGING = YES
|
|
Z3_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
|
|
ifeq ($(BR2_PACKAGE_Z3_PYTHON),y)
|
|
Z3_CONF_OPTS += \
|
|
-DCMAKE_INSTALL_PYTHON_PKG_DIR=/usr/lib/python$(PYTHON3_VERSION_MAJOR)/site-packages \
|
|
-DZ3_BUILD_PYTHON_BINDINGS=ON
|
|
else
|
|
Z3_CONF_OPTS += -DZ3_BUILD_PYTHON_BINDINGS=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|