summaryrefslogtreecommitdiff
path: root/dev-util/intel-graphics-compiler/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-09-25 20:21:45 +0100
commitc719fdcee603a5a706a45d10cb598762d56a727d (patch)
tree620cbf137661399a3fb1eff92914204f9a970713 /dev-util/intel-graphics-compiler/files
parentcc4618c9ba3d974948ebf340b542d8cb01db2f55 (diff)
gentoo resync : 25.09.2021
Diffstat (limited to 'dev-util/intel-graphics-compiler/files')
-rw-r--r--dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.4111-opencl-clang_version.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.4111-opencl-clang_version.patch b/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.4111-opencl-clang_version.patch
deleted file mode 100644
index 8996466275c9..000000000000
--- a/dev-util/intel-graphics-compiler/files/intel-graphics-compiler-1.0.4111-opencl-clang_version.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- a/IGC/BiFModule/CMakeLists.txt
-+++ b/IGC/BiFModule/CMakeLists.txt
-@@ -160,20 +160,10 @@
-
- if(UNIX)
- if(NOT ${CCLANG_BUILD_INTREE_LLVM})
-- # Get common clang library soname
-- get_target_property(CCLANG_LIB_PATH opencl-clang-lib "IMPORTED_LOCATION")
-- execute_process(
-- COMMAND readelf -d ${CCLANG_LIB_PATH}
-- OUTPUT_VARIABLE CCLANG_READELF_CALL)
-- string(REGEX MATCH "\\[${COMMON_CLANG_LIB_FULL_NAME}\\.([0-9](\\.[0-9]*)*[a-zA-Z0-9]*)\\]" CCLANG_SONAME_VERSION "${CCLANG_READELF_CALL}")
-- set(CCLANG_SONAME_VERSION "${CMAKE_MATCH_1}")
--
-- # Check if common clang library is newer than 5.0.0 version on which we have SPIR-V support
-- if("${CCLANG_SONAME_VERSION}" VERSION_GREATER "5.0.0")
-- set_property(TARGET opencl-clang-lib PROPERTY "IMPORTED_SONAME" "${COMMON_CLANG_LIB_FULL_NAME}.${CCLANG_SONAME_VERSION}")
-- else()
-- message(FATAL_ERROR "[IGC\\BiFModule] : Version ${CCLANG_SONAME_VERSION} of library ${COMMON_CLANG_LIB_FULL_NAME} is below version 5.0.0 (where it's starts support of SPIR-V), please upgrade this library at least to version 5.0.0")
-- endif()
-+ # Workaround for https://bugs.gentoo.org/739138 : instead of checking
-+ # the version of opencl-clang, have ebuilds set CCLANG_SONAME_VERSION
-+ # for us.
-+ set_property(TARGET opencl-clang-lib PROPERTY "IMPORTED_SONAME" "${COMMON_CLANG_LIB_FULL_NAME}.${CCLANG_SONAME_VERSION}")
- endif()
- if (NOT CCLANG_FROM_SYSTEM)
- install(FILES $<TARGET_FILE:opencl-clang-lib> DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR} COMPONENT igc-opencl)