[arch-commits] Commit in vc-intrinsics/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Wed Apr 6 18:39:01 UTC 2022
Date: Wednesday, April 6, 2022 @ 18:39:01
Author: archange
Revision: 1181617
archrelease: copy trunk to community-x86_64
Added:
vc-intrinsics/repos/community-x86_64/PKGBUILD
(from rev 1181616, vc-intrinsics/trunk/PKGBUILD)
Deleted:
vc-intrinsics/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 61 ++++++++++++++++++++++++++++++++++---------------------------
1 file changed, 34 insertions(+), 27 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-06 18:38:33 UTC (rev 1181616)
+++ PKGBUILD 2022-04-06 18:39:01 UTC (rev 1181617)
@@ -1,27 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-
-pkgname=vc-intrinsics
-pkgver=0.1.0
-pkgrel=2
-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)
-source=(${url}/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha256sums=('b925d55dcf7b94666a36c6c5afa77e81dcff3705660f131bd1566025d1f4fa13')
-
-build() {
- export CXXFLAGS+=" -ffat-lto-objects"
- cmake -B build -S ${pkgname}-${pkgver} \
- -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
-}
Copied: vc-intrinsics/repos/community-x86_64/PKGBUILD (from rev 1181616, vc-intrinsics/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-06 18:39:01 UTC (rev 1181617)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=vc-intrinsics
+pkgver=0.1.0.r5+g99ac111
+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
+_commit=99ac111c2604a47d865bd4d7996be8cfaf2af146
+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