update IGC in Semaphore build

- Add patch for IGC building with llvm 7 from Ubuntu 18.04

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/181

Change-Id: I8a91b7c3f961f092b33bd8ab3ef4cc2bd281e744
This commit is contained in:
Jacek Danecki
2019-06-17 17:38:42 +02:00
committed by sys_ocldev
parent c6bb5f1309
commit 52e3f12b69
3 changed files with 15 additions and 1 deletions

11
scripts/igc/llvm7.patch Normal file
View File

@@ -0,0 +1,11 @@
--- a/igc/IGC/BiFModule/CMakeLists.txt
+++ b/igc/IGC/BiFModule/CMakeLists.txt
@@ -866,7 +866,7 @@ endif(${VME_TYPES_DEFINED})
igc_bif_find_cl_files(IGC_BUILD__BIF_OCL_COMMON_DEPENDS ${IGC_BUILD__BIF_OCL_COMMON_INC_DIRS} "${IGC_OPTION__BIF_SRC_OCL_DIR}/Implementation")
-set(KHR_DEFINES "cl_khr_f16" "cl_khrfp64" "cl_khr_gl_msaa_sharing" "cl_khr_mipmap_image" "cl_khr_depth_images" "cl_intel_subgroups_short" "cl_intel_subgroups_char" "cl_intel_subgroups_long" "cl_intel_64bit_global_atomics_placeholder")
+set(KHR_DEFINES "cl_khr_f16" "cl_khrfp64" "cl_khr_gl_msaa_sharing" "cl_khr_mipmap_image" "cl_khr_depth_images" "cl_intel_subgroups_short" "cl_intel_subgroups_char" "cl_intel_subgroups_long" "cl_intel_64bit_global_atomics_placeholder" "cl_intel_device_side_avc_motion_estimation")
igc_bif_build_bc(
OUTPUT "${IGC_BUILD__BIF_DIR}/IBiF_Impl_int.bc"