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

Refresh patches: 0001-BiF-CMakeLists.txt-remove-opt-from-DEPENDS.patch 0001-external-SPIRV-Tools-change-path-to-tools-and-header.patch 0003-Improve-Reproducibility-for-src-package.patch Release Notes: https://github.com/intel/intel-graphics-compiler/releases/tag/v2.5.6 Signed-off-by: Yogesh Tyagi <yogesh.tyagi@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
33 lines
1.4 KiB
Diff
33 lines
1.4 KiB
Diff
From 1b98a931c3bf8daccc48cd618335ff35e3d382da Mon Sep 17 00:00:00 2001
|
|
From: Anuj Mittal <anuj.mittal@intel.com>
|
|
Date: Tue, 12 Oct 2021 23:46:42 +0800
|
|
Subject: [PATCH] BiF/CMakeLists.txt: remove opt from DEPENDS
|
|
|
|
Otherwise it starts failing with:
|
|
|
|
| ninja: error: 'IGC/VectorCompiler/lib/BiF/opt', needed by 'IGC/VectorCompiler/lib/BiF/VCBiFPrintfOCL32.opt.bc', missing and no known rule to make it
|
|
|
|
We don't need to explicitly make sure opt is built when
|
|
using prebuilt binaries.
|
|
|
|
Upstream-Status: Inappropriate
|
|
|
|
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
---
|
|
IGC/VectorCompiler/lib/BiF/cmake/Functions.cmake | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
Index: git/IGC/VectorCompiler/lib/BiF/cmake/Functions.cmake
|
|
===================================================================
|
|
--- git.orig/IGC/VectorCompiler/lib/BiF/cmake/Functions.cmake
|
|
+++ git/IGC/VectorCompiler/lib/BiF/cmake/Functions.cmake
|
|
@@ -119,7 +119,7 @@ function(vc_build_bif TARGET RES_FILE CM
|
|
COMMENT "vc_build_bif: Translating CMCL builtins: ${BIF_CLANG_BC_NAME_FINAL} -> ${BIF_OPT_BC_NAME}"
|
|
COMMAND CMCLTranslatorTool ${OPT_OPAQUE_ARG} -o ${BIF_CMCL_BC_PATH} ${BIF_CLANG_BC_PATH_FINAL}
|
|
COMMAND ${LLVM_OPT_EXE} ${OPT_OPAQUE_ARG} --O2 -o ${BIF_OPT_BC_PATH} ${BIF_CMCL_BC_PATH}
|
|
- DEPENDS CMCLTranslatorTool ${LLVM_OPT_EXE} ${OPT_BC_DEPENDS})
|
|
+ DEPENDS CMCLTranslatorTool ${BIF_CLANG_BC_PATH_FINAL})
|
|
|
|
add_custom_target(${TARGET}
|
|
DEPENDS ${BIF_OPT_BC_PATH}
|