Date: Saturday, January 7, 2023 @ 15:51:43
Author: archange
Revision: 1381701
archrelease: copy trunk to community-staging-x86_64
Added:
vc-intrinsics/repos/community-staging-x86_64/
vc-intrinsics/repos/community-staging-x86_64/PKGBUILD
(from rev 1381700, vc-intrinsics/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: vc-intrinsics/repos/community-staging-x86_64/PKGBUILD (from rev
1381700, vc-intrinsics/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-01-07 15:51:43 UTC (rev 1381701)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <[email protected]>
+# Maintainer: Daniel Bermond <[email protected]>
+
+pkgname=vc-intrinsics
+pkgver=0.11.0
+pkgrel=1
+pkgdesc="Set of new intrinsics on top of core LLVM IR instructions that
represent SIMD semantics of a program targeting GPU"
+arch=(x86_64)
+url="https://github.com/intel/vc-intrinsics"
+license=(MIT)
+makedepends=(cmake python llvm git)
+# From IGC release notes or latest release
+_commit=dd72efa3b4aafdbbf599e6f3c6f8c55450e348de
+source=(git+${url}.git#commit=$_commit)
+sha256sums=(SKIP)
+
+pkgver() {
+ cd ${pkgname}
+ git describe --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./;s/-/+/'
+}
+
+build() {
+ export CXXFLAGS+=" -ffat-lto-objects"
+ cmake -B build -S ${pkgname} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLLVM_DIR=/usr/lib/cmake/llvm \
+ -Wno-dev
+ make -C build
+}
+
+package() {
+ make -C build DESTDIR="${pkgdir}" install
+}