# Template file for 'xsimd'
pkgname=xsimd
version=14.3.0
revision=1
build_style=cmake
short_desc="C++ wrappers for SIMD intrinsics and parallel, optimized math functions"
maintainer="John <me@johnnynator.dev>"
license="BSD-3-Clause"
homepage="https://github.com/xtensor-stack/xsimd"
distfiles="https://github.com/xtensor-stack/xsimd/archive/refs/tags/${version}.tar.gz"
checksum=b3d50e7a73fbf4642ceef30131c93414901d69eee41c2a5302db650b03e2c792

if [ -z "$CROSS_BUILD" ]; then
	configure_args="-DBUILD_TESTS=ON"
	makedepends="doctest-devel"
fi

post_install() {
	vlicense LICENSE
}
