diff --git a/srcpkgs/ispc/template b/srcpkgs/ispc/template index 998d8028cac..b9160d5664a 100644 --- a/srcpkgs/ispc/template +++ b/srcpkgs/ispc/template @@ -1,21 +1,31 @@ # Template file for 'ispc' pkgname=ispc -version=1.12.0 -revision=2 -archs="i686 x86_64" +version=1.13.0 +revision=1 +archs="x86_64" build_style=cmake +configure_args="-DISPC_NO_DUMPS=ON -DARM_ENABLED=OFF" 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" +short_desc="Compiler for high-performance SIMD programming on the CPU" maintainer="Andrea Brancaleoni " -license="BSD" +license="BSD-3-Clause" homepage="https://ispc.github.io" distfiles="https://github.com/ispc/ispc/archive/v${version}.tar.gz" +checksum=cc74c4c490ddf4e0a63f01948ec8d6eb575d85ab5932d30ca4ad01c0e8f079ce patch_args="-p1" -checksum=9ebc29adcdf477659b45155d0f91e61120a12084e42113d0e9f4ce5cfdfbdcab +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 +}