[arch-commits] Commit in intel-graphics-compiler/repos/community-x86_64 (4 files)
Bruno Pagani
archange at archlinux.org
Sat Jul 18 14:50:08 UTC 2020
Date: Saturday, July 18, 2020 @ 14:50:08
Author: archange
Revision: 664423
archrelease: copy trunk to community-x86_64
Added:
intel-graphics-compiler/repos/community-x86_64/010-igc-fix-build.patch
(from rev 664422, intel-graphics-compiler/trunk/010-igc-fix-build.patch)
intel-graphics-compiler/repos/community-x86_64/PKGBUILD
(from rev 664422, 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 | 72 +++++++++++++++++++++-------------------------
2 files changed, 52 insertions(+), 58 deletions(-)
Deleted: 010-igc-fix-build.patch
===================================================================
--- 010-igc-fix-build.patch 2020-07-18 14:49:56 UTC (rev 664422)
+++ 010-igc-fix-build.patch 2020-07-18 14:50:08 UTC (rev 664423)
@@ -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 664422, intel-graphics-compiler/trunk/010-igc-fix-build.patch)
===================================================================
--- 010-igc-fix-build.patch (rev 0)
+++ 010-igc-fix-build.patch 2020-07-18 14:50:08 UTC (rev 664423)
@@ -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-07-18 14:49:56 UTC (rev 664422)
+++ PKGBUILD 2020-07-18 14:50:08 UTC (rev 664423)
@@ -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.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}
-}
Copied: intel-graphics-compiler/repos/community-x86_64/PKGBUILD (from rev 664422, intel-graphics-compiler/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-18 14:50:08 UTC (rev 664423)
@@ -0,0 +1,33 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=intel-graphics-compiler
+epoch=1
+pkgver=1.0.4241
+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=('1f24daa4c4ca411a77944d466f5b3c6f59ae21f5dd266b38da68f9124e116ff9')
+
+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