llvm-project-source: exclude for llvm-12

meta-clang now builds llvm-spiv-translator as an external project for
llvm12 so stop building it.

It still need to be built for llvm-10 and llvm-11 though.

Ref:
aa1ab889bc

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Naveen Saini 2021-03-26 18:39:13 +08:00 committed by Anuj Mittal
parent fa5566a9fd
commit 9aecbb76e8

View File

@ -18,10 +18,10 @@ SRC_URI_LLVM11 = " \
file://llvm11-skip-building-tests.patch;patchdir=llvm/projects/llvm-spirv \
"
SRC_URI_append_intel-x86-common = " \
git://github.com/KhronosGroup/SPIRV-LLVM-Translator.git;protocol=https;branch=${SPIRV_BRANCH};destsuffix=git/llvm/projects/llvm-spirv;name=spirv \
"
SPIRV_LLVM_SRC_URI = "git://github.com/KhronosGroup/SPIRV-LLVM-Translator.git;protocol=https;branch=${SPIRV_BRANCH};destsuffix=git/llvm/projects/llvm-spirv;name=spirv"
SRC_URI_append_intel-x86-common = "${@bb.utils.contains('LLVMVERSION', '10.0.1', '${SRC_URI_LLVM10}', '${SRC_URI_LLVM11}', d)}"
SPIRV_LLVM_PATCHES = "${@bb.utils.contains('LLVMVERSION', '10.0.1', '${SRC_URI_LLVM10}', '${SRC_URI_LLVM11}', d)}"
SRCREV_spirv = "${SPIRV_SRCREV}"
SRC_URI_append_intel-x86-common = "${@bb.utils.contains('LLVMVERSION', '12.0.0', '', ' ${SPIRV_LLVM_SRC_URI} ${SPIRV_LLVM_PATCHES} ', d)}"
SRCREV_spirv = "${@bb.utils.contains('LLVMVERSION', '12.0.0', '', '${SPIRV_SRCREV}', d)}"