[arch-commits] Commit in vc-intrinsics/repos (2 files)

Bruno Pagani archange at gemini.archlinux.org
Tue Jun 14 19:22:07 UTC 2022


    Date: Tuesday, June 14, 2022 @ 19:22:07
  Author: archange
Revision: 1237911

archrelease: copy trunk to community-testing-x86_64

Added:
  vc-intrinsics/repos/community-testing-x86_64/
  vc-intrinsics/repos/community-testing-x86_64/PKGBUILD
    (from rev 1237910, vc-intrinsics/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: vc-intrinsics/repos/community-testing-x86_64/PKGBUILD (from rev 1237910, vc-intrinsics/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2022-06-14 19:22:07 UTC (rev 1237911)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=vc-intrinsics
+pkgver=0.4.2
+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=4ce354da51f219bbdfa9c4cd5d8f640e92e38511
+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
+}



More information about the arch-commits mailing list