ispc: build with llvm19

This commit is contained in:
Daniel Martinez 2024-11-23 17:28:05 -05:00 committed by classabbyamp
parent d78b83cc05
commit 0b646f98d4
1 changed files with 6 additions and 4 deletions

View File

@ -1,12 +1,14 @@
# Template file for 'ispc'
pkgname=ispc
version=1.25.3
revision=1
revision=2
_llvmver=19
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"
configure_args="-DISPC_INCLUDE_EXAMPLES=OFF -DISPC_INCLUDE_RT=OFF
-DCMAKE_PREFIX_PATH=${XBPS_CROSS_BASE}/usr/lib/llvm/${_llvmver}"
hostmakedepends="clang${_llvmver} clang-tools-extra${_llvmver} python3 m4 bison flex"
makedepends="llvm${_llvmver}-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"