[arch-commits] Commit in level-zero/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Mon Nov 22 19:48:10 UTC 2021
Date: Monday, November 22, 2021 @ 19:48:10
Author: archange
Revision: 1054351
archrelease: copy trunk to community-x86_64
Added:
level-zero/repos/community-x86_64/PKGBUILD
(from rev 1054350, level-zero/trunk/PKGBUILD)
Deleted:
level-zero/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-22 19:47:37 UTC (rev 1054350)
+++ PKGBUILD 2021-11-22 19:48:10 UTC (rev 1054351)
@@ -1,49 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgbase=level-zero
-pkgname=(level-zero-headers level-zero-loader)
-pkgver=1.5.4
-pkgrel=1
-pkgdesc="API for accessing low level interfaces in oneAPI platform devices"
-arch=(x86_64)
-url="https://spec.oneapi.com/versions/latest/elements/l0/source/index.html"
-license=(MIT)
-makedepends=(cmake opencl-headers)
-source=(https://github.com/oneapi-src/level-zero/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz)
-sha256sums=('0332215bd00f49e3cc75cf0cfb0111b5e8b7f41046f0b85e29725f00c26bf750')
-
-prepare() {
- printf '%s\n' ${pkgver##*.} > ${pkgbase}-${pkgver}/VERSION_PATCH
-}
-
-build() {
- cmake -B build -S ${pkgbase}-${pkgver} \
- -DCMAKE_BUILD_TYPE=None \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -Wno-dev
- make -C build
-}
-
-package_level-zero-headers() {
- pkgdesc+=" (headers)"
- #arch=(any) # Not supported for now, maybe later
-
- make -C build DESTDIR="${pkgdir}" install
- install -Dm644 ${pkgbase}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-
- # remove loader files
- [ -d 'loader' ] && rm -rf loader
- install -d loader/lib
- mv "${pkgdir}"/usr/lib/*so* loader/lib
-}
-
-package_level-zero-loader() {
- pkgdesc+=" (loader)"
- depends=(gcc-libs)
- optdepends=('level-zero-driver: for packaged Level Zero driver')
-
- mv loader "${pkgdir}"/usr
- install -Dm644 ${pkgbase}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
-
Copied: level-zero/repos/community-x86_64/PKGBUILD (from rev 1054350, level-zero/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-22 19:48:10 UTC (rev 1054351)
@@ -0,0 +1,49 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgbase=level-zero
+pkgname=(level-zero-headers level-zero-loader)
+pkgver=1.6.2
+pkgrel=1
+pkgdesc="API for accessing low level interfaces in oneAPI platform devices"
+arch=(x86_64)
+url="https://spec.oneapi.com/versions/latest/elements/l0/source/index.html"
+license=(MIT)
+makedepends=(cmake opencl-headers)
+source=(https://github.com/oneapi-src/level-zero/archive/v${pkgver}/${pkgbase}-${pkgver}.tar.gz)
+sha256sums=('ef124adc7a011b672e661fbe38873d7db6546c068a4a03610fdc5118b6b6cbf7')
+
+prepare() {
+ printf '%s\n' ${pkgver##*.} > ${pkgbase}-${pkgver}/VERSION_PATCH
+}
+
+build() {
+ cmake -B build -S ${pkgbase}-${pkgver} \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -Wno-dev
+ make -C build
+}
+
+package_level-zero-headers() {
+ pkgdesc+=" (headers)"
+ #arch=(any) # Not supported for now, maybe later
+
+ make -C build DESTDIR="${pkgdir}" install
+ install -Dm644 ${pkgbase}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+
+ # remove loader files
+ [ -d 'loader' ] && rm -rf loader
+ install -d loader/lib
+ mv "${pkgdir}"/usr/lib/*so* loader/lib
+}
+
+package_level-zero-loader() {
+ pkgdesc+=" (loader)"
+ depends=(gcc-libs)
+ optdepends=('level-zero-driver: for packaged Level Zero driver')
+
+ mv loader "${pkgdir}"/usr
+ install -Dm644 ${pkgbase}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
+
More information about the arch-commits
mailing list