[arch-commits] Commit in intel-graphics-compiler/repos/community-x86_64 (2 files)
Bruno Pagani
archange at archlinux.org
Sat Oct 19 14:25:08 UTC 2019
Date: Saturday, October 19, 2019 @ 14:25:08
Author: archange
Revision: 517459
archrelease: copy trunk to community-x86_64
Added:
intel-graphics-compiler/repos/community-x86_64/PKGBUILD
(from rev 517458, intel-graphics-compiler/trunk/PKGBUILD)
Deleted:
intel-graphics-compiler/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 92 +++++++++++++++++++++++++++----------------------------------
1 file changed, 42 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-19 14:24:51 UTC (rev 517458)
+++ PKGBUILD 2019-10-19 14:25:08 UTC (rev 517459)
@@ -1,50 +0,0 @@
-# Maintainer: Daniel Bermond <dbermond at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=intel-graphics-compiler
-epoch=1
-pkgver=1.0.2652
-pkgrel=1
-pkgdesc="Intel Graphics Compiler for OpenCL"
-arch=(x86_64)
-url="https://github.com/intel/intel-graphics-compiler"
-license=(MIT)
-depends=(llvm-libs intel-opencl-clang)
-makedepends=(cmake clang llvm zlib python)
-options=('!emptydirs')
-source=("${url}/archive/igc-${pkgver}.tar.gz"
- "igc-${pkgver}-build-fix.patch"::'https://github.com/intel/intel-graphics-compiler/commit/028414b376d12d7d6fbb4939bca2a31a02b6a18f.patch')
-noextract=("igc-${pkgver}.tar.gz")
-sha256sums=('32aa20abe6dbc66dbeffc86aab0db96420b12eb93aec28ad2c98da9f93c1189f'
- 'f3ded012337547f730a162596c701f902ec156c69f1949f7ae0f9cd0d6b2e5a7')
-
-prepare() {
- mkdir -p build ${pkgname}-${pkgver}
- bsdtar xf igc-${pkgver}.tar.gz -C ${pkgname}-${pkgver} --strip-components='1'
-
- # fix build error
- # https://github.com/intel/intel-graphics-compiler/issues/112
- patch -d "${pkgname}-${pkgver}" -Np1 -i "${srcdir}/igc-${pkgver}-build-fix.patch"
-}
-
-build() {
- cd build
- cmake ../"${pkgname}-${pkgver}" \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \
- -DIGC_PREFERRED_LLVM_VERSION='9.0.0' \
- -Wno-dev
- make
-
- # License
- sed -n '2,20p' IGC/AdaptorOCL/igc.opencl.h > LICENSE # create file
- sed -i '1,22s/^.\{,3\}//' LICENSE # erase C comments
-}
-
-package() {
- cd build
- make DESTDIR="${pkgdir}" install
- install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
Copied: intel-graphics-compiler/repos/community-x86_64/PKGBUILD (from rev 517458, intel-graphics-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-10-19 14:25:08 UTC (rev 517459)
@@ -0,0 +1,42 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-graphics-compiler
+epoch=1
+pkgver=1.0.2714
+pkgrel=1
+pkgdesc="Intel Graphics Compiler for OpenCL"
+arch=(x86_64)
+url="https://github.com/intel/intel-graphics-compiler"
+license=(MIT)
+depends=(llvm-libs intel-opencl-clang)
+makedepends=(cmake clang llvm zlib python)
+options=(!emptydirs)
+source=("${url}/archive/igc-${pkgver}.tar.gz")
+sha256sums=('eaddbfc99dc906d2b6b0b820cda632a75eb4b891a09cd20ed61da24357755ad2')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-igc-${pkgver} \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \
+ -DIGC_PREFERRED_LLVM_VERSION='9.0.0' \
+ -Wno-dev
+ make
+
+ # License
+ sed -n '2,20p' IGC/AdaptorOCL/igc.opencl.h > LICENSE # create file
+ sed -i '1,22s/^.\{,3\}//' LICENSE # erase C comments
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
More information about the arch-commits
mailing list