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

Daniel Bermond dbermond at archlinux.org
Fri May 8 13:09:25 UTC 2020


    Date: Friday, May 8, 2020 @ 13:09:24
  Author: dbermond
Revision: 625632

archrelease: copy trunk to community-x86_64

Added:
  intel-graphics-compiler/repos/community-x86_64/010-igc-fix-build.patch
    (from rev 625631, intel-graphics-compiler/trunk/010-igc-fix-build.patch)
  intel-graphics-compiler/repos/community-x86_64/PKGBUILD
    (from rev 625631, intel-graphics-compiler/trunk/PKGBUILD)
Deleted:
  intel-graphics-compiler/repos/community-x86_64/010-igc-fix-build.patch
  intel-graphics-compiler/repos/community-x86_64/PKGBUILD

-------------------------+
 010-igc-fix-build.patch |   38 +++++++++++-----------
 PKGBUILD                |   78 +++++++++++++++++++++++-----------------------
 2 files changed, 58 insertions(+), 58 deletions(-)

Deleted: 010-igc-fix-build.patch
===================================================================
--- 010-igc-fix-build.patch	2020-05-08 13:08:56 UTC (rev 625631)
+++ 010-igc-fix-build.patch	2020-05-08 13:09:24 UTC (rev 625632)
@@ -1,19 +0,0 @@
-diff --git a/IGC/CMakeLists.txt b/IGC/CMakeLists.txt
-index 8c9a5fcc..3b5e88cf 100644
---- a/IGC/CMakeLists.txt
-+++ b/IGC/CMakeLists.txt
-@@ -3271,8 +3271,12 @@ endif()
- if(LLVM_LINK_LLVM_DYLIB)
-     # LLVM was built and configured in a way that tools (in our case IGC) should be linked
-     # against single LLVM dynamic library.
--    set(IGC_BUILD__LLVM_LIBS_TO_LINK "/usr/local/lib/libLLVM-${LLVM_VERSION_MAJOR}.so")
--    message(STATUS "[IGC] Link against LLVM dylib ${IGC_BUILD__LLVM_LIBS_TO_LINK}")
-+    find_library(IGC_BUILD__LLVM_LIBS_TO_LINK "libLLVM-${LLVM_VERSION_MAJOR}.so")
-+    if(IGC_BUILD__LLVM_LIBS_TO_LINK)
-+      message(STATUS "[IGC] Link against LLVM dylib ${IGC_BUILD__LLVM_LIBS_TO_LINK}")
-+    else()
-+      message(FATAL_ERROR "[IGC] Could not find the LLVM dylib. Aborting.")
-+    endif()
- else()
-     # LLVM was built into multiple libraries (static or shared).
-     message(STATUS "[IGC] Link against LLVM static or shared component libs")

Copied: intel-graphics-compiler/repos/community-x86_64/010-igc-fix-build.patch (from rev 625631, intel-graphics-compiler/trunk/010-igc-fix-build.patch)
===================================================================
--- 010-igc-fix-build.patch	                        (rev 0)
+++ 010-igc-fix-build.patch	2020-05-08 13:09:24 UTC (rev 625632)
@@ -0,0 +1,19 @@
+diff --git a/IGC/CMakeLists.txt b/IGC/CMakeLists.txt
+index 8c9a5fcc..3b5e88cf 100644
+--- a/IGC/CMakeLists.txt
++++ b/IGC/CMakeLists.txt
+@@ -3271,8 +3271,12 @@ endif()
+ if(LLVM_LINK_LLVM_DYLIB)
+     # LLVM was built and configured in a way that tools (in our case IGC) should be linked
+     # against single LLVM dynamic library.
+-    set(IGC_BUILD__LLVM_LIBS_TO_LINK "/usr/local/lib/libLLVM-${LLVM_VERSION_MAJOR}.so")
+-    message(STATUS "[IGC] Link against LLVM dylib ${IGC_BUILD__LLVM_LIBS_TO_LINK}")
++    find_library(IGC_BUILD__LLVM_LIBS_TO_LINK "libLLVM-${LLVM_VERSION_MAJOR}.so")
++    if(IGC_BUILD__LLVM_LIBS_TO_LINK)
++      message(STATUS "[IGC] Link against LLVM dylib ${IGC_BUILD__LLVM_LIBS_TO_LINK}")
++    else()
++      message(FATAL_ERROR "[IGC] Could not find the LLVM dylib. Aborting.")
++    endif()
+ else()
+     # LLVM was built into multiple libraries (static or shared).
+     message(STATUS "[IGC] Link against LLVM static or shared component libs")

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-08 13:08:56 UTC (rev 625631)
+++ PKGBUILD	2020-05-08 13:09:24 UTC (rev 625632)
@@ -1,39 +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.3864
-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"
-        "010-igc-fix-build.patch")
-sha256sums=('ec4595c56e0ed7287c1847b3ea07b0053873b20b4d44a3fa23f8d8a63919242d'
-            'ce2df5488a57a84e33a1a9eae8d8198b6b21c589e2a3d9deabae141e34a095aa')
-
-prepare() {
-    patch -d ${pkgname}-igc-${pkgver} -Np1 -i "${srcdir}"/010-igc-fix-build.patch
-}
-
-build() {
-    cmake -B build -S ${pkgname}-igc-${pkgver} \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_INSTALL_LIBDIR=lib \
-        -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \
-        -DIGC_PREFERRED_LLVM_VERSION='10.0.0' \
-        -DINSTALL_GENX_IR=ON \
-        -Wno-dev
-    make -C build
-}
-
-package() {
-    make -C build DESTDIR="${pkgdir}" install
-    install -D -m644 ${pkgname}-igc-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: intel-graphics-compiler/repos/community-x86_64/PKGBUILD (from rev 625631, intel-graphics-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-08 13:09:24 UTC (rev 625632)
@@ -0,0 +1,39 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-graphics-compiler
+epoch=1
+pkgver=1.0.3899
+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"
+        "010-igc-fix-build.patch")
+sha256sums=('fcb721a40a88e1c9bbd45281ba003cf519eaf648435896071bc1e8a80ef05e71'
+            'ce2df5488a57a84e33a1a9eae8d8198b6b21c589e2a3d9deabae141e34a095aa')
+
+prepare() {
+    patch -d ${pkgname}-igc-${pkgver} -Np1 -i "${srcdir}"/010-igc-fix-build.patch
+}
+
+build() {
+    cmake -B build -S ${pkgname}-igc-${pkgver} \
+        -DCMAKE_BUILD_TYPE=Release \
+        -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_INSTALL_LIBDIR=lib \
+        -DIGC_OPTION__ARCHITECTURE_TARGET='Linux64' \
+        -DIGC_PREFERRED_LLVM_VERSION='10.0.0' \
+        -DINSTALL_GENX_IR=ON \
+        -Wno-dev
+    make -C build
+}
+
+package() {
+    make -C build DESTDIR="${pkgdir}" install
+    install -D -m644 ${pkgname}-igc-${pkgver}/LICENSE.md -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}


More information about the arch-commits mailing list