void-packages/srcpkgs/ispc/template
Đoàn Trần Công Danh 9978e00086 srcpkgs: remove patch_args=-Np1 en-mass
git grep -l '^patch_args=.*p1' 'srcpkgs/*/template'  |
	xargs -r sed -i '/^patch_args=/d'
2021-06-20 13:17:29 +07:00

30 lines
854 B
Bash

# Template file for 'ispc'
pkgname=ispc
version=1.15.0
revision=2
archs="x86_64*"
build_style=cmake
configure_args="-DISPC_NO_DUMPS=ON -DARM_ENABLED=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=2658ff00dc045ac9fcefbf6bd26dffaf723b059a942a27df91bbb61bc503a285
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
pre_build() {
sed -i '/tinfo/d' CMakeLists.txt
}
post_install() {
vlicense LICENSE.txt
}