0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-03-04 04:48:55 +00:00
Termux Github Actions 183f199c19 bump(main/z3): 4.14.0
This commit has been automatically submitted by Github Actions.
2025-02-24 13:03:43 +00:00

26 lines
1.2 KiB
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/Z3Prover/z3
TERMUX_PKG_DESCRIPTION="Z3 is a theorem prover from Microsoft Research"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="4.14.0"
TERMUX_PKG_SRCURL=https://github.com/Z3Prover/z3/archive/refs/tags/z3-${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=63430c3aab76f75b1d2c53177f94351caeca26e218f4cc060a1fc029059af683
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+\.\d+"
TERMUX_PKG_DEPENDS="libc++"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_configure() {
# FPMATH_ENABLED=False to workaround NDK r27 issues:
# clang++: error: unsupported option '-msse' for target 'aarch64-linux-androideabi24'
# clang++: error: unsupported option '-msse2' for target 'armv7a-androideabi24'
# clang++: error: unsupported option '-msimd128' for target 'i686-linux-androideabi24'
# clang++: error: unsupported option '-msimd128' for target 'x86_64-linux-androideabi24'
CXX="$CXX" CC="$CC" FPMATH_ENABLED=False python3 scripts/mk_make.py --prefix=$TERMUX_PREFIX --build=$TERMUX_PKG_BUILDDIR
if $TERMUX_ON_DEVICE_BUILD; then
sed 's%../../../../../../../../%%g' -i Makefile
else
sed 's%../../../../../%%g' -i Makefile
fi
}