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

Daniel Bermond dbermond at archlinux.org
Mon Apr 1 23:35:01 UTC 2019


    Date: Monday, April 1, 2019 @ 23:35:00
  Author: dbermond
Revision: 447228

archrelease: copy trunk to community-x86_64

Added:
  intel-graphics-compiler/repos/community-x86_64/PKGBUILD
    (from rev 447226, 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-01 23:34:57 UTC (rev 447227)
+++ PKGBUILD	2019-04-01 23:35:00 UTC (rev 447228)
@@ -1,44 +0,0 @@
-# Maintainer: Daniel Bermond < gmail-com: danielbermond >
-
-pkgname=intel-graphics-compiler
-pkgver=19.12.1681
-pkgrel=1
-pkgdesc="Intel Graphics Compiler for OpenCL"
-arch=(x86_64)
-url="https://github.com/intel/intel-graphics-compiler"
-license=(MIT)
-depends=(llvm-libs)
-makedepends=(cmake clang llvm zlib python2 intel-opencl-clang)
-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/None' \
-        -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 447226, intel-graphics-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-04-01 23:35:00 UTC (rev 447228)
@@ -0,0 +1,44 @@
+# 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
+}


More information about the arch-commits mailing list