[arch-commits] Commit in intel-graphics-compiler/trunk (2 files)
Daniel Bermond
dbermond at archlinux.org
Mon Jun 10 20:46:24 UTC 2019
Date: Monday, June 10, 2019 @ 20:46:24
Author: dbermond
Revision: 479793
upgpkg: intel-graphics-compiler 1:1.0.8-1
Modified:
intel-graphics-compiler/trunk/PKGBUILD
Deleted:
intel-graphics-compiler/trunk/igc-fix-build-with-system-opencl-clang.patch
----------------------------------------------+
PKGBUILD | 13 +---
igc-fix-build-with-system-opencl-clang.patch | 69 -------------------------
2 files changed, 3 insertions(+), 79 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-06-10 20:42:20 UTC (rev 479792)
+++ PKGBUILD 2019-06-10 20:46:24 UTC (rev 479793)
@@ -3,7 +3,7 @@
pkgname=intel-graphics-compiler
epoch=1
-pkgver=1.0.7
+pkgver=1.0.8
pkgrel=1
pkgdesc="Intel Graphics Compiler for OpenCL"
arch=(x86_64)
@@ -12,20 +12,13 @@
depends=(llvm-libs intel-opencl-clang)
makedepends=(cmake clang llvm zlib python2)
options=('!emptydirs')
-source=("${url}/archive/igc-${pkgver}.tar.gz"
- 'igc-fix-build-with-system-opencl-clang.patch')
+source=("${url}/archive/igc-${pkgver}.tar.gz")
noextract=("igc-${pkgver}.tar.gz")
-sha256sums=('b95afb8f983f38a8aedfa9d77ecb619706f58baae31dd7da0c4e31962b9205c1'
- 'e4221ca82774d8afda7b581d5b80cffa6c47d8326aaee068546d8e63f5bef63d')
+sha256sums=('b66e78c3084aff92f3245e6352d363195c7b2d499c6b8ae8a3c73bd66cb2b94e')
prepare() {
mkdir -p build ${pkgname}-${pkgver}
bsdtar xf igc-${pkgver}.tar.gz -C ${pkgname}-${pkgver} --strip-components='1'
-
- # fix build with system opencl-clang
- # https://github.com/intel/intel-graphics-compiler/issues/95
- cd "${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/igc-fix-build-with-system-opencl-clang.patch"
}
build() {
Deleted: igc-fix-build-with-system-opencl-clang.patch
===================================================================
--- igc-fix-build-with-system-opencl-clang.patch 2019-06-10 20:42:20 UTC (rev 479792)
+++ igc-fix-build-with-system-opencl-clang.patch 2019-06-10 20:46:24 UTC (rev 479793)
@@ -1,69 +0,0 @@
-intel-graphics-compiler 1.0.7
-Fix build with system opencl-clang
-https://github.com/intel/intel-graphics-compiler/issues/95
-
-Backport of:
-https://github.com/intel/intel-graphics-compiler/commit/5d2ab178abeee5a71ba6409a1e7208d4f1f0041a
-
-diff -Naurp a/IGC/BiFModule/CMakeLists.txt b/IGC/BiFModule/CMakeLists.txt
---- a/IGC/BiFModule/CMakeLists.txt 2019-06-03 17:27:09.604195718 +0000
-+++ b/IGC/BiFModule/CMakeLists.txt 2019-06-04 01:11:06.739758208 +0000
-@@ -60,7 +60,7 @@ endif()
- ###
-
- ### Check by order first available way to link with opencl-clang
--if(${CCLANG_FROM_SYSTEM})
-+if(CCLANG_FROM_SYSTEM)
- message(STATUS "[IGC\\BiFModule] : opencl-clang will be taken from system")
- else()
- if(NOT DEFINED CCLANG_BUILD_PREBUILDS_DIR)
-@@ -103,7 +103,7 @@ endif()
- ###
-
- #1. CCLANG_FROM_SYSTEM - use installed on system opencl-clang toolchain
--if(${CCLANG_FROM_SYSTEM})
-+if(CCLANG_FROM_SYSTEM)
- find_library(SYSTEM_COMMON_CLANG ${COMMON_CLANG_LIBRARY_NAME})
-
- add_library(opencl-clang-lib SHARED IMPORTED GLOBAL)
-@@ -127,12 +127,6 @@ elseif(${CCLANG_BUILD_PREBUILDS})
- add_library(opencl-clang-lib SHARED IMPORTED GLOBAL)
- set_property(TARGET opencl-clang-lib PROPERTY "IMPORTED_LOCATION" "${CCLANG_BUILD_PREBUILDS_DIR}/${COMMON_CLANG_LIB_FULL_NAME}")
-
-- if(${LLVM_VERSION_MINOR} EQUAL 0 AND ${LLVM_VERSION_PATCH} EQUAL 0)
-- set_property(TARGET opencl-clang-lib PROPERTY "IMPORTED_SONAME" "${COMMON_CLANG_LIB_FULL_NAME}.${LLVM_VERSION_MAJOR}")
-- else()
-- set_property(TARGET opencl-clang-lib PROPERTY "IMPORTED_SONAME" "${COMMON_CLANG_LIB_FULL_NAME}.${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}")
-- endif()
--
- add_executable(clang-tool IMPORTED GLOBAL)
- set_property(TARGET clang-tool PROPERTY "IMPORTED_LOCATION" "${CCLANG_BUILD_PREBUILDS_DIR}/clang${CMAKE_EXECUTABLE_SUFFIX}")
-
-@@ -146,13 +140,20 @@ elseif(${CCLANG_BUILD_INTREE_LLVM})
- endif()
- ###
-
--if(UNIX AND NOT ${CCLANG_FROM_SYSTEM})
-- install(FILES $<TARGET_FILE:opencl-clang-lib> DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} COMPONENT igc-opencl)
-- install(FILES $<TARGET_SONAME_FILE:opencl-clang-lib> DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} COMPONENT igc-opencl)
--
-- install(FILES $<TARGET_FILE:clang-tool> DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT igc-opencl-devel)
-- install(FILES $<TARGET_FILE:clang-tool>-${LLVM_VERSION_MAJOR} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT igc-opencl-devel)
-- install(FILES ${opencl-header} DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR} COMPONENT igc-opencl-devel)
-+if(UNIX)
-+ if(${LLVM_VERSION_MINOR} EQUAL 0 AND ${LLVM_VERSION_PATCH} EQUAL 0)
-+ set_property(TARGET opencl-clang-lib PROPERTY "IMPORTED_SONAME" "${COMMON_CLANG_LIB_FULL_NAME}.${LLVM_VERSION_MAJOR}")
-+ else()
-+ set_property(TARGET opencl-clang-lib PROPERTY "IMPORTED_SONAME" "${COMMON_CLANG_LIB_FULL_NAME}.${LLVM_VERSION_MAJOR}.${LLVM_VERSION_MINOR}.${LLVM_VERSION_PATCH}")
-+ endif()
-+ if (NOT CCLANG_FROM_SYSTEM)
-+ install(FILES $<TARGET_FILE:opencl-clang-lib> DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} COMPONENT igc-opencl)
-+ install(FILES $<TARGET_SONAME_FILE:opencl-clang-lib> DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} COMPONENT igc-opencl)
-+
-+ install(FILES $<TARGET_FILE:clang-tool> DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT igc-opencl-devel)
-+ install(FILES $<TARGET_FILE:clang-tool>-${LLVM_VERSION_MAJOR} DESTINATION ${CMAKE_INSTALL_FULL_BINDIR} COMPONENT igc-opencl-devel)
-+ install(FILES ${opencl-header} DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR} COMPONENT igc-opencl-devel)
-+ endif()
- endif()
-
- #NEO needs to change the target name
More information about the arch-commits
mailing list