32 lines
848 B
Bash
32 lines
848 B
Bash
# Template file for 'ispc'
|
|
pkgname=ispc
|
|
version=1.14.0
|
|
revision=1
|
|
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 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=aaeb024f96f92350d60cb2e2634769304993f52ec4970239ff61c449ee24f3c3
|
|
patch_args="-p1"
|
|
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
|
|
}
|