* add vc
This commit is contained in:
parent
85800270f6
commit
57f7dc763c
17
vc/.SRCINFO
Normal file
17
vc/.SRCINFO
Normal file
@ -0,0 +1,17 @@
|
||||
pkgbase = vc
|
||||
pkgdesc = A library to ease explicit vectorization of C++ code
|
||||
pkgver = 1.4.5
|
||||
pkgrel = 1
|
||||
url = https://github.com/VcDevel/Vc
|
||||
arch = x86_64
|
||||
arch = powerpc64le
|
||||
arch = powerpc64
|
||||
arch = powerpc
|
||||
arch = riscv64
|
||||
license = BSD-3-Clause
|
||||
makedepends = cmake
|
||||
makedepends = git
|
||||
source = git+https://github.com/VcDevel/Vc#tag=1.4.5
|
||||
sha256sums = 6fd6b62bcffe898abcc5058674719fc82715bb60d21e44f44d3710c9434f8a61
|
||||
|
||||
pkgname = vc
|
4
vc/.nvchecker.toml
Normal file
4
vc/.nvchecker.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[vc]
|
||||
source = 'github'
|
||||
github = 'VcDevel/Vc'
|
||||
use_max_tag = true
|
29
vc/PKGBUILD
Normal file
29
vc/PKGBUILD
Normal file
@ -0,0 +1,29 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer:
|
||||
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||
# Contributor: PedsXing <pedsxing at gmx dot net>
|
||||
|
||||
pkgname=vc
|
||||
pkgver=1.4.5
|
||||
pkgrel=1
|
||||
pkgdesc='A library to ease explicit vectorization of C++ code'
|
||||
url='https://github.com/VcDevel/Vc'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
license=(BSD-3-Clause)
|
||||
makedepends=(cmake
|
||||
git)
|
||||
source=(git+https://github.com/VcDevel/Vc#tag=$pkgver)
|
||||
sha256sums=('6fd6b62bcffe898abcc5058674719fc82715bb60d21e44f44d3710c9434f8a61')
|
||||
|
||||
build() {
|
||||
cmake -B build -S Vc \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects" \
|
||||
-DTARGET_ARCHITECTURE=generic
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
install -Dm644 Vc/LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user