[arch-commits] Commit in intel-graphics-compiler/repos/community-x86_64 (2 files)

Bruno Pagani archange at archlinux.org
Thu Apr 11 10:21:23 UTC 2019


    Date: Thursday, April 11, 2019 @ 10:21:22
  Author: archange
Revision: 451039

archrelease: copy trunk to community-x86_64

Added:
  intel-graphics-compiler/repos/community-x86_64/PKGBUILD
    (from rev 451038, intel-graphics-compiler/trunk/PKGBUILD)
Deleted:
  intel-graphics-compiler/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   88 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 44 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-04-11 10:21:15 UTC (rev 451038)
+++ PKGBUILD	2019-04-11 10:21:22 UTC (rev 451039)
@@ -1,44 +0,0 @@
-# Maintainer: Daniel Bermond < gmail-com: danielbermond >
-
-pkgname=intel-graphics-compiler
-pkgver=19.12.1681
-pkgrel=2
-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 python2)
-options=('!emptydirs')
-source=("${url}/archive/igc-${pkgver}.tar.gz")
-noextract=("igc-${pkgver}.tar.gz")
-sha256sums=(e044081f2840c3511070492aaac29e6f6c1b89b17918e69bb850df53f326d9eb)
-
-prepare() {
-    mkdir -p build ${pkgname}-${pkgver}
-    bsdtar xf igc-${pkgver}.tar.gz -C ${pkgname}-${pkgver} --strip-components='1'
-}
-
-build() {
-    cd build
-    cmake ../"${pkgname}-${pkgver}" \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DIGC_OPTION__OUTPUT_DIR='../igc-install/Release' \
-        -DIGC_PREFERRED_LLVM_VERSION='8.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}
-    
-    # Fix libcommon_clang being embedded
-    rm "${pkgdir}"/usr/lib/libcommon_clang.so
-}

Copied: intel-graphics-compiler/repos/community-x86_64/PKGBUILD (from rev 451038, intel-graphics-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-11 10:21:22 UTC (rev 451039)
@@ -0,0 +1,44 @@
+# Maintainer: Daniel Bermond < gmail-com: danielbermond >
+
+pkgname=intel-graphics-compiler
+epoch=1
+pkgver=1.0.1
+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 python2)
+options=('!emptydirs')
+source=("${url}/archive/igc-${pkgver}.tar.gz")
+noextract=("igc-${pkgver}.tar.gz")
+sha256sums=('d32a44da260f934c821b3285fd527c1ed1233e790913699e9e2234ba2a211d00')
+
+prepare() {
+    mkdir -p build ${pkgname}-${pkgver}
+    bsdtar xf igc-${pkgver}.tar.gz -C ${pkgname}-${pkgver} --strip-components='1'
+}
+
+build() {
+    cd build
+    cmake ../"${pkgname}-${pkgver}" \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \
+        -DIGC_OPTION__OUTPUT_DIR='../igc-install/Release' \
+        -DIGC_PREFERRED_LLVM_VERSION='8.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