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

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>
28 lines
1.4 KiB
Plaintext
28 lines
1.4 KiB
Plaintext
FILESEXTRAPATHS_prepend_intel-x86-common := "${THISDIR}/files:"
|
|
|
|
SPIRV_BRANCH = "${@bb.utils.contains('LLVMVERSION', '10.0.1', 'llvm_release_100', 'llvm_release_110', d)}"
|
|
|
|
SPIRV10_SRCREV = "4d43f68a30a510b4e7607351caab3df8e7426a6b"
|
|
SPIRV11_SRCREV = "93032d36d2fe17befb7994714c07c67ea68efbea"
|
|
|
|
SPIRV_SRCREV = "${@bb.utils.contains('LLVMVERSION', '10.0.1', '${SPIRV10_SRCREV}', '${SPIRV11_SRCREV}', d)}"
|
|
|
|
SRC_URI_LLVM10 = " \
|
|
file://llvm10-skip-building-tests.patch;patchdir=llvm/projects/llvm-spirv \
|
|
file://fix-shared-libs.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 \
|
|
"
|
|
|
|
SRC_URI_LLVM11 = " \
|
|
file://llvm11-skip-building-tests.patch;patchdir=llvm/projects/llvm-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"
|
|
|
|
SPIRV_LLVM_PATCHES = "${@bb.utils.contains('LLVMVERSION', '10.0.1', '${SRC_URI_LLVM10}', '${SRC_URI_LLVM11}', d)}"
|
|
|
|
|
|
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)}"
|