void-packages/srcpkgs/ispc/template

22 lines
620 B
Bash

# Template file for 'ispc'
pkgname=ispc
version=1.12.0
revision=2
archs="i686 x86_64"
build_style=cmake
hostmakedepends="clang python3 m4 bison flex llvm"
configure_args="-DISPC_NO_DUMPS=yes"
makedepends="ncurses-devel zlib-devel"
short_desc="A compiler for high-performance SIMD programming on the CPU"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="BSD"
homepage="https://ispc.github.io"
distfiles="https://github.com/ispc/ispc/archive/v${version}.tar.gz"
patch_args="-p1"
checksum=9ebc29adcdf477659b45155d0f91e61120a12084e42113d0e9f4ce5cfdfbdcab
nopie=yes
pre_build() {
sed -i '/tinfo/d' CMakeLists.txt
}