[arch-commits] Commit in level-zero/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Fri May 27 09:24:36 UTC 2022
Date: Friday, May 27, 2022 @ 09:24:35
Author: archange
Revision: 1210761
archrelease: copy trunk to community-x86_64
Added:
level-zero/repos/community-x86_64/PKGBUILD
(from rev 1210760, level-zero/trunk/PKGBUILD)
Deleted:
level-zero/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 96 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 48 insertions(+), 48 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-27 09:24:06 UTC (rev 1210760)
+++ PKGBUILD 2022-05-27 09:24:35 UTC (rev 1210761)
@@ -1,48 +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.7.15
-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=('c39bb05a8e5898aa6c444e1704105b93d3f1888b9c333f8e7e73825ffbfb2617')
-
-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 1210760, level-zero/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-27 09:24:35 UTC (rev 1210761)
@@ -0,0 +1,48 @@
+# 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.8.1
+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=('de9582ca075dbd207113d432c4d70a2daaf9d6904672c707e340d43cf4e114a5')
+
+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