void-packages/srcpkgs/ispc/template
Marcin Puc 482bc7273c ispc: update to 1.19.0
Closes: #40821 [via git-merge-pr]
2023-03-31 15:28:07 +02:00

26 lines
834 B
Bash

# Template file for 'ispc'
pkgname=ispc
version=1.19.0
revision=1
archs="x86_64*"
build_style=cmake
configure_args="-DARM_ENABLED=OFF -DISPC_INCLUDE_EXAMPLES=OFF -DISPC_INCLUDE_RT=OFF"
hostmakedepends="clang clang-tools-extra python3 m4 bison flex llvm"
makedepends="ncurses-devel ncurses-libtinfo-devel zlib-devel"
short_desc="Compiler for high-performance SIMD programming on the CPU"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD-3-Clause"
homepage="https://ispc.github.io"
distfiles="https://github.com/ispc/ispc/archive/v${version}.tar.gz"
checksum=da1eccb8ead495b22d642340f3bab11fb64dd2223cd9cc92f0492f70b30f34b5
nocross=yes
nopie=yes
# hack to make -m32 work so it can build 32-bit target
case "$XBPS_TARGET_MACHINE" in
x86_64) hostmakedepends+=" gcc-multilib";;
esac
post_install() {
vlicense LICENSE.txt
}