void-packages/srcpkgs/ispc/template
Andrea Brancaleoni 71a3c2a2b8 ispc: rebuild for llvm
resolves #2790
2018-09-15 17:13:25 +02:00

25 lines
644 B
Bash

# Template file for 'ispc'
pkgname=ispc
version=1.9.2
revision=2
only_for_archs="i686 x86_64"
build_style=gnu-makefile
hostmakedepends="llvm clang python m4 bison flex"
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=76a14e22f05a52fb0b30142686a6cb144b0415b39be6c9fcd3f17ac23447f0b2
nopie=yes
pre_build() {
sed -i '/WERROR=/d' Makefile
}
do_install() {
vbin ispc
vlicense LICENSE.txt
}