# Template file for 'ecl' pkgname=ecl version=24.5.10 revision=1 build_style=gnu-configure configure_args="--enable-gmp=system --enable-boehm=system --enable-libatomic=system --with-dffi=system" hostmakedepends="pkg-config" makedepends="gc-devel libatomic_ops-devel gmp-devel libffi-devel" depends="$makedepends" short_desc="Common-Lisp interpreter as described in the X3J13 Ansi specification" maintainer="Orphaned " license="LGPL-2.1-or-later" homepage="https://ecl.common-lisp.dev/" changelog="https://gitlab.com/embeddable-common-lisp/ecl/-/raw/develop/CHANGELOG" distfiles="https://ecl.common-lisp.dev/static/files/release/ecl-${version}.tgz" checksum=e4ea65bb1861e0e495386bfa8bc673bd014e96d3cf9d91e9038f91435cbe622b if [ "$CROSS_BUILD" ]; then # Depend on system ecl hostmakedepends+=" ecl" configure_args+=" --with-cross-config=${XBPS_SRCPKGDIR}/ecl/files/cross_config" fi pre_check() { # These settings enable `make check` to run using the compiled ecl. # A few tests fail: out of 18098 tests there are ~10 that fail on # glibc and an additional ~30 fail on musl (the numbers vary as # some failures seem random.) # # The build finishes since `make check` does NOT fail; it is left # for the future to fix the failing tests and patch make check so # it actually fails the build. export ECLDIR=$wrksrc/build/ export LD_LIBRARY_PATH=$wrksrc/build/ export TEST_IMAGE=$wrksrc/build/bin/ecl make_check_args="ECL=$TEST_IMAGE" }