mirror of
git://git.yoctoproject.org/meta-intel.git
synced 2025-07-19 21:09:03 +02:00

https://github.com/intel/opencl-clang/tree/ocl-open-110/patches Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
49 lines
3.2 KiB
Plaintext
49 lines
3.2 KiB
Plaintext
FILESEXTRAPATHS:prepend:intel-x86-common := "${THISDIR}/files:"
|
|
|
|
SPIRV10_SRCREV = "fe4d6b767363a1995ccbfca27f79efb10dcfe110"
|
|
SPIRV11_SRCREV = "ca3a50e6e3193e399d26446d4f74a90e2a531f3a"
|
|
|
|
SPIRV_SRCREV = "${@bb.utils.contains('LLVMVERSION', '10.0.1', '${SPIRV10_SRCREV}', '${SPIRV11_SRCREV}', d)}"
|
|
|
|
SRC_URI_LLVM10_PATCHES = " \
|
|
file://llvm10-0001-llvm-spirv-skip-building-tests.patch;patchdir=llvm/projects/llvm-spirv \
|
|
file://llvm10-0002-Fix-building-in-tree-with-cmake-DLLVM_LINK_LLVM_DYLI.patch;patchdir=llvm/projects/llvm-spirv \
|
|
file://llvm10-0003-Add-support-for-cl_ext_float_atomics-in-SPIRVWriter.patch;patchdir=llvm/projects/llvm-spirv \
|
|
file://BasicBlockUtils-Add-metadata-fixing-in-SplitBlockPre.patch;patchdir=llvm \
|
|
file://IndVarSimplify-Do-not-use-SCEV-expander-for-IVCount-.patch;patchdir=llvm \
|
|
file://llvm10-0001-OpenCL-3.0-support.patch \
|
|
file://llvm10-0002-Add-cl_khr_extended_subgroup-extensions.patch \
|
|
file://llvm10-0003-Memory-leak-fix-for-Managed-Static-Mutex.patch \
|
|
file://llvm10-0004-Remove-repo-name-in-LLVM-IR.patch \
|
|
file://llvm10-0005-Remove-__IMAGE_SUPPORT__-macro-for-SPIR-since-SPIR-d.patch \
|
|
file://llvm10-0006-Avoid-calling-ParseCommandLineOptions-in-BackendUtil.patch \
|
|
file://llvm10-0007-support-cl_ext_float_atomics.patch \
|
|
"
|
|
|
|
SRC_URI_LLVM11_PATCHES = " \
|
|
file://llvm11-0001-llvm-spirv-skip-building-tests.patch;patchdir=llvm/projects/llvm-spirv \
|
|
file://llvm11-0002-Add-support-for-cl_ext_float_atomics-in-SPIRVWriter.patch;patchdir=llvm/projects/llvm-spirv \
|
|
file://llvm11-0001-OpenCL-3.0-support.patch \
|
|
file://llvm11-0002-Memory-leak-fix-for-Managed-Static-Mutex.patch \
|
|
file://llvm11-0003-Remove-repo-name-in-LLVM-IR.patch \
|
|
file://llvm11-0004-Remove-__IMAGE_SUPPORT__-macro-for-SPIR-since-SPIR-d.patch \
|
|
file://llvm11-0005-Avoid-calling-ParseCommandLineOptions-in-BackendUtil.patch \
|
|
file://llvm11-0006-OpenCL-support-cl_ext_float_atomics.patch \
|
|
"
|
|
SRC_URI_LLVM12_PATCHES = " \
|
|
file://0001-Remove-__IMAGE_SUPPORT__-macro-for-SPIR.patch \
|
|
"
|
|
|
|
|
|
SPIRV_LLVM10_SRC_URI = "git://github.com/KhronosGroup/SPIRV-LLVM-Translator.git;protocol=https;branch=llvm_release_100;destsuffix=git/llvm/projects/llvm-spirv;name=spirv"
|
|
|
|
SPIRV_LLVM11_SRC_URI = "git://github.com/KhronosGroup/SPIRV-LLVM-Translator.git;protocol=https;branch=llvm_release_110;destsuffix=git/llvm/projects/llvm-spirv;name=spirv"
|
|
|
|
|
|
|
|
SRC_URI:append:intel-x86-common = "${@bb.utils.contains('LLVMVERSION', '10.0.1', ' ${SPIRV_LLVM10_SRC_URI} ${SRC_URI_LLVM10_PATCHES} ', '', d)}"
|
|
SRC_URI:append:intel-x86-common = "${@bb.utils.contains('LLVMVERSION', '11.1.0', ' ${SPIRV_LLVM11_SRC_URI} ${SRC_URI_LLVM11_PATCHES} ', '', d)}"
|
|
SRC_URI:append:intel-x86-common = "${@bb.utils.contains('LLVMVERSION', '12.0.0', ' ${SRC_URI_LLVM12_PATCHES} ', '', d)}"
|
|
|
|
SRCREV_spirv = "${@bb.utils.contains_any('LLVMVERSION', [ '13.0.0', '12.0.0' ], '', '${SPIRV_SRCREV}', d)}"
|