[meta-intel] [PATCH] intel-graphics-compiler: use custom UPSTREAM_CHECK_GITTAGREGEX

Anuj Mittal anuj.mittal at intel.com
Thu Aug 8 07:12:58 PDT 2019


Use a custom regex to make sure we exclude tags starting with something
other than igc and those that include versions starting with 19.

Signed-off-by: Anuj Mittal <anuj.mittal at intel.com>
---
 .../recipes-opencl/igc/intel-graphics-compiler_1.0.6.bb         | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.6.bb b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.6.bb
index f64b97fd..655df69c 100644
--- a/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.6.bb
+++ b/dynamic-layers/clang-layer/recipes-opencl/igc/intel-graphics-compiler_1.0.6.bb
@@ -25,3 +25,5 @@ DEPENDS_class-target = " flex-native bison-native clang clang-cross-x86_64"
 
 EXTRA_OECMAKE = "-DIGC_PREFERRED_LLVM_VERSION=8.0.0 -DPYTHON_EXECUTABLE=${HOSTTOOLS_DIR}/python2"
 EXTRA_OECMAKE += "-DCOMMON_CLANG_LIBRARY_NAME=common_clang"
+
+UPSTREAM_CHECK_GITTAGREGEX = "^igc-(?P<pver>(?!19\..*)\d+(\.\d+)+)$"
-- 
2.21.0



More information about the meta-intel mailing list