mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-12 01:14:37 +08:00
29 lines
578 B
Bash
29 lines
578 B
Bash
pkgname=vc
|
|
pkgver=0.7.5
|
|
pkgrel=1
|
|
pkgdesc="A library to ease explicit vectorization of C++ code"
|
|
url='http://code.compeng.uni-frankfurt.de/projects/vc/'
|
|
arch=('x86_64')
|
|
license=('BSD')
|
|
makedepends=('cmake')
|
|
source=("https://github.com/VcDevel/Vc/releases/download/${pkgver}/Vc-${pkgver}.tar.gz")
|
|
md5sums=('59854e2381b78d602b4a00e459e3d333')
|
|
|
|
build() {
|
|
mkdir -p build && cd build
|
|
cmake ../Vc-${pkgver} \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|