[arch-commits] Commit in intel-compute-runtime/repos (2 files)
Date: Thursday, October 29, 2020 @ 13:53:13 Author: archange Revision: 736511 archrelease: copy trunk to community-staging-x86_64 Added: intel-compute-runtime/repos/community-staging-x86_64/ intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 736510, intel-compute-runtime/trunk/PKGBUILD) --+ PKGBUILD | 39 +++ 1 file changed, 39 insertions(+) Copied: intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 736510, intel-compute-runtime/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-10-29 13:53:13 UTC (rev 736511) @@ -0,0 +1,39 @@ +# Maintainer: Daniel Bermond +# Maintainer: Bruno Pagani + +pkgname=intel-compute-runtime +pkgver=20.42.18209 +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) +optdepends=('libva: for cl_intel_va_api_media_sharing' +'libdrm: for cl_intel_va_api_media_sharing') +provides=(opencl-driver level-zero-driver) +source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('aa7f71e327f8969ecf419565f315d1a13b8ce473d392de177ec99cd7924db493') + +prepare() { + cd compute-runtime-${pkgver} + sed -i 's|-Werror||g' CMakeLists.txt +} + +build() { + cmake -B build -S compute-runtime-${pkgver} \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-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 -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 +}
[arch-commits] Commit in intel-compute-runtime/repos (2 files)
Date: Thursday, April 16, 2020 @ 01:12:16 Author: archange Revision: 615090 archrelease: copy trunk to community-staging-x86_64 Added: intel-compute-runtime/repos/community-staging-x86_64/ intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 615089, intel-compute-runtime/trunk/PKGBUILD) --+ PKGBUILD | 41 + 1 file changed, 41 insertions(+) Copied: intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 615089, intel-compute-runtime/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-04-16 01:12:16 UTC (rev 615090) @@ -0,0 +1,41 @@ +# Maintainer: Daniel Bermond +# Maintainer: Bruno Pagani + +pkgname=intel-compute-runtime +pkgver=20.14.16441 +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) +optdepends=('libva: for cl_intel_va_api_media_sharing' +'libdrm: for cl_intel_va_api_media_sharing') +provides=(opencl-driver level-zero-driver) +source=(https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=('169e7833121beea8ec69ff9249ca06f3bae981e14593c7a62f363d4991acb7e2') + +build() { +export CFLAGS+=" ${CPPFLAGS}" +export CXXFLAGS+=" ${CPPFLAGS}" +cmake -B build -S compute-runtime-${pkgver} \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-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 -t "${pkgdir}"/usr/share/licenses/${pkgname} + +local _lz_sover +local _lz_major +_lz_sover=$(find "${pkgdir}"/usr/lib -type f -name 'libze_intel_gpu.so.*.*.*' | sed 's/^.*\.so\.//') +_lz_major=${_lz_sover%%.*} +ln -s libze_intel_gpu.so.${_lz_sover} "${pkgdir}"/usr/lib/libze_intel_gpu.so +ln -s libze_intel_gpu.so.${_lz_sover} "${pkgdir}"/usr/lib/libze_intel_gpu.so.${_lz_major} +}
[arch-commits] Commit in intel-compute-runtime/repos (2 files)
Date: Friday, October 4, 2019 @ 17:41:27 Author: dbermond Revision: 512848 archrelease: copy trunk to community-staging-x86_64 Added: intel-compute-runtime/repos/community-staging-x86_64/ intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 512847, intel-compute-runtime/trunk/PKGBUILD) --+ PKGBUILD | 38 ++ 1 file changed, 38 insertions(+) Copied: intel-compute-runtime/repos/community-staging-x86_64/PKGBUILD (from rev 512847, intel-compute-runtime/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-10-04 17:41:27 UTC (rev 512848) @@ -0,0 +1,38 @@ +# Maintainer: Daniel Bermond +# Maintainer: Bruno Pagani + +_srcname=compute-runtime +pkgname=intel-${_srcname} +pkgver=19.39.14278 +pkgrel=1 +pkgdesc="Intel(R) Graphics Compute Runtime for OpenCL(TM). Replaces Beignet for Gen8 (Broadwell) and beyond." +arch=(x86_64) +url="https://01.org/compute-runtime; +license=(MIT) +depends=(gcc-libs intel-gmmlib intel-graphics-compiler) +makedepends=(cmake libva) +optdepends=('libva: for cl_intel_va_api_media_sharing' +'libdrm: for cl_intel_va_api_media_sharing') +provides=(opencl-driver) +source=("https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz;) +sha256sums=('607b891a99d8c2f191147fb66d8dd42a6b3a71c56a4c483fa966bd429163a2e8') + +prepare() { +mkdir -p build +} + +build() { +cd build +cmake ../${_srcname}-${pkgver} \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DNEO_DRIVER_VERSION=${pkgver} +make +} + +package() { +cd build +make DESTDIR="${pkgdir}" install +install -Dm644 ../${_srcname}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname} +}
[arch-commits] Commit in intel-compute-runtime/repos (2 files)
Date: Tuesday, April 2, 2019 @ 00:04:31 Author: dbermond Revision: 447271 archrelease: copy trunk to community-x86_64 Added: intel-compute-runtime/repos/community-x86_64/ intel-compute-runtime/repos/community-x86_64/PKGBUILD (from rev 447270, intel-compute-runtime/trunk/PKGBUILD) --+ PKGBUILD | 41 + 1 file changed, 41 insertions(+) Copied: intel-compute-runtime/repos/community-x86_64/PKGBUILD (from rev 447270, intel-compute-runtime/trunk/PKGBUILD) === --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2019-04-02 00:04:31 UTC (rev 447271) @@ -0,0 +1,41 @@ +# Maintainer: Daniel Bermond < gmail-com: danielbermond > + +_srcname=compute-runtime +pkgname=intel-${_srcname} +pkgver=19.11.12599 +pkgrel=2 +pkgdesc="Intel(R) Graphics Compute Runtime for OpenCL(TM). Replaces Beignet for Gen8 (Broadwell) and beyond." +arch=(x86_64) +url="https://01.org/compute-runtime; +license=(MIT) +depends=(gcc-libs intel-gmmlib intel-graphics-compiler) +makedepends=(cmake libva) +optdepends=('libva: for cl_intel_va_api_media_sharing' +'libdrm: for cl_intel_va_api_media_sharing') +provides=(opencl-driver) +source=("https://github.com/intel/compute-runtime/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz; + intel-compute-runtime-fix-llvm8-build.patch::"https://github.com/intel/compute-runtime/commit/7a7bb50328106f9f86b28bc404355fc891e104c6.patch;) +sha256sums=('9601e776bc8ea51112ed2c713f8f12bb1de7a0dcc5f90d8b80f9a2214b851761' +'a41392d2653ff5e3f75e6a211a0ed5c22f2ddbd2246f3a8217b6d3cd35098bb5') + +prepare() { +mkdir -p build +cd ${_srcname}-${pkgver} +patch -p1 -i ../intel-compute-runtime-fix-llvm8-build.patch +} + +build() { +cd build +cmake ../${_srcname}-${pkgver} \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-DNEO_DRIVER_VERSION=${pkgver} +make +} + +package() { +cd build +make DESTDIR="${pkgdir}" install +install -Dm644 ../${_srcname}-${pkgver}/LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname} +}