4d2260fea3
[ci skip]
22 lines
675 B
Bash
22 lines
675 B
Bash
# Template file for 'vc'
|
||
pkgname=vc
|
||
version=1.4.0
|
||
revision=2
|
||
wrksrc="Vc-${version}"
|
||
build_style=cmake
|
||
configure_args="-DTARGET_ARCHITECTURE=generic"
|
||
short_desc="Library to ease explicit vectorization of C++ code"
|
||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||
license="BSD-3-Clause"
|
||
homepage="https://github.com/VcDevel/Vc"
|
||
distfiles="${homepage}/releases/download/${version}/Vc-${version}.tar.gz"
|
||
checksum=e6cfc056eb3a72a57751e768ba63236ebf2711d267fbd1dc0acfee0ac16fdf68
|
||
|
||
# CMAKE_SYSTEM_PROCESSOR isn’t set when cross compiling
|
||
case "$XBPS_TARGET_MACHINE" in
|
||
mips*) broken="No optimized implementation of the Vc types available";;
|
||
esac
|
||
|
||
post_install() {
|
||
vlicense LICENSE
|
||
}
|