Date: Sunday, May 15, 2022 @ 16:14:08 Author: archange Revision: 1207465
archrelease: copy trunk to community-x86_64 Added: intel-compute-runtime/repos/community-x86_64/PKGBUILD (from rev 1207464, intel-compute-runtime/trunk/PKGBUILD) Deleted: intel-compute-runtime/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 90 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 42 insertions(+), 48 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-15 16:13:36 UTC (rev 1207464) +++ PKGBUILD 2022-05-15 16:14:08 UTC (rev 1207465) @@ -1,48 +0,0 @@ -# Maintainer: Daniel Bermond <dberm...@archlinux.org> -# Maintainer: Bruno Pagani <archa...@archlinux.org> - -pkgname=intel-compute-runtime -pkgver=22.18.23063 -pkgrel=1 -pkgdesc="Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM) Driver" -arch=(x86_64) -url="https://01.org/compute-runtime" -license=(MIT) -depends=(gcc-libs intel-gmmlib intel-graphics-compiler) -makedepends=(cmake libva level-zero-headers igsc) -optdepends=('libva: for cl_intel_va_api_media_sharing' - 'libdrm: for cl_intel_va_api_media_sharing') -provides=(opencl-driver level-zero-driver) -# https://github.com/intel/compute-runtime/issues/528 -options=(!lto) -source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz - ${pkgname}-gcc12.patch::https://github.com/intel/compute-runtime/commit/ac01f74924ea9df977466d28fce1a049abc22a9d.patch) -sha256sums=('3dc6a530838cd80c17fa4de64e615e5aa228623029cd7da4564ced378a5264fa' - '9075dc4abc0baf8002463424c6e0fc9d568f4cba6158c8912434e255fe2541cf') - -prepare() { - patch -p1 -d compute-runtime-${pkgver} < ${pkgname}-gcc12.patch -} - -build() { - # ${${pkgver#*.}%.*} not supported by bash? - cmake -B build -S compute-runtime-${pkgver} \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DNEO_OCL_VERSION_MAJOR=${pkgver%%.*} \ - -DNEO_OCL_VERSION_MINOR=$(echo ${pkgver} | cut -d . -f2) \ - -DNEO_VERSION_BUILD=${pkgver##*.} \ - -DSUPPORT_DG1=ON \ - -DSKIP_UNIT_TESTS=1 \ - -Wno-dev - make -C build -} - -package() { - make -C build DESTDIR="${pkgdir}" install - install -Dm755 build/bin/libocloc.so -t "${pkgdir}"/usr/lib/intel-opencl - install -Dm644 compute-runtime-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname} - - ln -s $(find "${pkgdir}"/usr/lib -regex '.*libze_intel_gpu.so.[0-9]*' -exec basename {} \;) "${pkgdir}"/usr/lib/libze_intel_gpu.so -} Copied: intel-compute-runtime/repos/community-x86_64/PKGBUILD (from rev 1207464, intel-compute-runtime/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-15 16:14:08 UTC (rev 1207465) @@ -0,0 +1,42 @@ +# Maintainer: Daniel Bermond <dberm...@archlinux.org> +# Maintainer: Bruno Pagani <archa...@archlinux.org> + +pkgname=intel-compute-runtime +pkgver=22.19.23136 +pkgrel=1 +pkgdesc="Intel(R) Graphics Compute Runtime for oneAPI Level Zero and OpenCL(TM) Driver" +arch=(x86_64) +url="https://01.org/compute-runtime" +license=(MIT) +depends=(gcc-libs intel-gmmlib intel-graphics-compiler) +makedepends=(cmake libva level-zero-headers igsc) +optdepends=('libva: for cl_intel_va_api_media_sharing' + 'libdrm: for cl_intel_va_api_media_sharing') +provides=(opencl-driver level-zero-driver) +# https://github.com/intel/compute-runtime/issues/528 +options=(!lto) +source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('8376bd6265ca17430a2f377d6414d9922f9d6a5abf46867dd254f27eb4cc18ad') + +build() { + # ${${pkgver#*.}%.*} not supported by bash? + cmake -B build -S compute-runtime-${pkgver} \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DNEO_OCL_VERSION_MAJOR=${pkgver%%.*} \ + -DNEO_OCL_VERSION_MINOR=$(echo ${pkgver} | cut -d . -f2) \ + -DNEO_VERSION_BUILD=${pkgver##*.} \ + -DSUPPORT_DG1=ON \ + -DSKIP_UNIT_TESTS=1 \ + -Wno-dev + make -C build +} + +package() { + make -C build DESTDIR="${pkgdir}" install + install -Dm755 build/bin/libocloc.so -t "${pkgdir}"/usr/lib/intel-opencl + install -Dm644 compute-runtime-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname} + + ln -s $(find "${pkgdir}"/usr/lib -regex '.*libze_intel_gpu.so.[0-9]*' -exec basename {} \;) "${pkgdir}"/usr/lib/libze_intel_gpu.so +}