27 lines
833 B
Bash
27 lines
833 B
Bash
# Template file for 'ispc'
|
|
pkgname=ispc
|
|
version=1.25.3
|
|
revision=1
|
|
archs="aarch64* x86_64*"
|
|
build_style=cmake
|
|
configure_args="-DISPC_INCLUDE_EXAMPLES=OFF -DISPC_INCLUDE_RT=OFF"
|
|
hostmakedepends="clang clang-tools-extra python3 m4 bison flex"
|
|
makedepends="llvm17-devel 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=6f00038e0e86e90474f3117c3b393f6695a8fbe1b3d8fe3b1a0baf197dfb7557
|
|
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
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|