diff options
Diffstat (limited to 'dev-libs/beignet/files/beignet-1.3.1-oclicd_no_upstream_icdfile.patch')
-rw-r--r-- | dev-libs/beignet/files/beignet-1.3.1-oclicd_no_upstream_icdfile.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/beignet/files/beignet-1.3.1-oclicd_no_upstream_icdfile.patch b/dev-libs/beignet/files/beignet-1.3.1-oclicd_no_upstream_icdfile.patch new file mode 100644 index 0000000..7e9e883 --- /dev/null +++ b/dev-libs/beignet/files/beignet-1.3.1-oclicd_no_upstream_icdfile.patch @@ -0,0 +1,14 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -213,11 +213,6 @@ + Find_Package(OCLIcd) + IF(OCLIcd_FOUND) + MESSAGE(STATUS "Looking for OCL ICD header file - found") +- configure_file ( +- "intel-beignet.icd.in" +- "${ICD_FILE_NAME}" +- ) +- install (FILES ${CMAKE_CURRENT_BINARY_DIR}/${ICD_FILE_NAME} DESTINATION /etc/OpenCL/vendors) + ELSE(OCLIcd_FOUND) + MESSAGE(STATUS "Looking for OCL ICD header file - not found") + MESSAGE(FATAL_ERROR "OCL ICD loader miss. If you really want to disable OCL ICD support, please run cmake with option -DOCLICD_COMPAT=0.") |