Release notes:
https://github.com/ispc/ispc/releases/tag/v1.23.0

llvm-dis is no longer a build dependency.

Signed-off-by: Anuj Mittal <[email protected]>
---
 ...on-to-print-test-run-status-in-ptest.patch | 13 ++---
 .../ispc/ispc/0001-Fix-QA-Issues.patch        |  9 ++--
 ...01-Fix-return-type-of-lParseOperator.patch | 51 -------------------
 ...cmake-don-t-build-for-32-bit-targets.patch | 11 ++--
 .../ispc/{ispc_1.22.0.bb => ispc_1.23.0.bb}   |  4 +-
 5 files changed, 14 insertions(+), 74 deletions(-)
 delete mode 100644 
dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Fix-return-type-of-lParseOperator.patch
 rename dynamic-layers/openembedded-layer/recipes-core/ispc/{ispc_1.22.0.bb => 
ispc_1.23.0.bb} (92%)

diff --git 
a/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Add-print-function-to-print-test-run-status-in-ptest.patch
 
b/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Add-print-function-to-print-test-run-status-in-ptest.patch
index 3ce431d4..4d583657 100644
--- 
a/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Add-print-function-to-print-test-run-status-in-ptest.patch
+++ 
b/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Add-print-function-to-print-test-run-status-in-ptest.patch
@@ -1,4 +1,4 @@
-From 6ba81efe971fb6038af6e950e853d35ee6dd9cc3 Mon Sep 17 00:00:00 2001
+From deccc0c69c2c8759c52885be8bdda54d3cee481c Mon Sep 17 00:00:00 2001
 From: Yogesh Tyagi <[email protected]>
 Date: Sun, 11 Dec 2022 22:34:15 +0800
 Subject: [PATCH] Add print function to print test run status in ptest format
@@ -11,10 +11,10 @@ Signed-off-by: Yogesh Tyagi <[email protected]>
  1 file changed, 16 insertions(+)
 
 diff --git a/run_tests.py b/run_tests.py
-index 87305a06..4f2f0f59 100755
+index 1cd796dd..e3ffd1ab 100755
 --- a/run_tests.py
 +++ b/run_tests.py
-@@ -385,6 +385,9 @@ def run_test(testname, host, target):
+@@ -327,6 +327,9 @@ def run_test(testname, host, target):
      else:
          ispc_exe_rel = add_prefix(host.ispc_cmd, host, target)
  
@@ -24,7 +24,7 @@ index 87305a06..4f2f0f59 100755
      # is this a test to make sure an error is issued?
      want_error = (filename.find("tests_errors") != -1)
      if want_error == True:
-@@ -844,6 +847,17 @@ def check_compiler_exists(compiler_exe):
+@@ -795,6 +798,17 @@ def check_compiler_exists(compiler_exe):
              return
      error("missing the required compiler: %s \n" % compiler_exe, 1)
  
@@ -42,7 +42,7 @@ index 87305a06..4f2f0f59 100755
  def print_result(status, results, s, run_tests_log, csv):
      title = StatusStr[status]
      file_list = [fname for fname, fstatus in results if status == fstatus]
-@@ -987,6 +1001,8 @@ def run_tests(options1, args, print_version):
+@@ -938,6 +952,8 @@ def run_tests(options1, args, print_version):
          pass_rate = -1
      print_debug("PASSRATE (%d/%d) = %d%% \n\n" % (len(run_succeed_files), 
total_tests_executed, pass_rate), s, run_tests_log)
  
@@ -51,6 +51,3 @@ index 87305a06..4f2f0f59 100755
      for status in Status:
          print_result(status, results, s, run_tests_log, options.csv)
      fails = [status != Status.Compfail and status != Status.Runfail for _, 
status in results]
--- 
-2.37.3
-
diff --git 
a/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Fix-QA-Issues.patch
 
b/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Fix-QA-Issues.patch
index e7bb599e..b0a76ff9 100644
--- 
a/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Fix-QA-Issues.patch
+++ 
b/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Fix-QA-Issues.patch
@@ -1,4 +1,4 @@
-From 139b94a7fb72114c31a2a6ab3f7e6024b4a738ec Mon Sep 17 00:00:00 2001
+From 7beff95c11071170eb27b6fa7d0cc77588caee8e Mon Sep 17 00:00:00 2001
 From: Yogesh Tyagi <[email protected]>
 Date: Tue, 26 Jul 2022 15:25:10 +0800
 Subject: [PATCH] Fix QA Issues
@@ -8,16 +8,15 @@ Stop ispc from inserting host file path in generated headers 
which leads to repr
 Upstream-Status: Inappropriate [OE build specific]
 
 Signed-off-by: Yogesh Tyagi <[email protected]>
-
 ---
  src/module.cpp | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/src/module.cpp b/src/module.cpp
-index 58a2ae83..82673052 100644
+index e2084d2e..e2626865 100644
 --- a/src/module.cpp
 +++ b/src/module.cpp
-@@ -2105,7 +2105,7 @@ bool Module::writeHeader(const char *fn) {
+@@ -2555,7 +2555,7 @@ bool Module::writeHeader(const char *fn) {
          perror("fopen");
          return false;
      }
@@ -26,7 +25,7 @@ index 58a2ae83..82673052 100644
      fprintf(f, "// DO NOT EDIT THIS FILE.\n//\n\n");
  
      // Create a nice guard string from the filename, turning any
-@@ -2219,7 +2219,7 @@ bool Module::writeDispatchHeader(DispatchHeaderInfo 
*DHI) {
+@@ -2677,7 +2677,7 @@ bool Module::writeDispatchHeader(DispatchHeaderInfo 
*DHI) {
      FILE *f = DHI->file;
  
      if (DHI->EmitFrontMatter) {
diff --git 
a/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Fix-return-type-of-lParseOperator.patch
 
b/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Fix-return-type-of-lParseOperator.patch
deleted file mode 100644
index 6ef6cba1..00000000
--- 
a/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0001-Fix-return-type-of-lParseOperator.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From 1d1b0f4eacb7d3875d7dd53e2df8dfca2031fa3a Mon Sep 17 00:00:00 2001
-From: Aleksei Nurmukhametov <[email protected]>
-Date: Tue, 28 Nov 2023 04:11:44 -0800
-Subject: [PATCH] Fix return type of lParseOperator
-
-When bison is used in -y mode that emulates POSIX Yacc, tokens are
-defined as enums (under YYTOKENTYPE ifdef) or as int via macro
-definitions. Defining return type as yytokentype causes compile error:
-invalid conversion from 'int' to 'yytokentype'. To avoid it, return int
-as we do with lParseInteger and lParseFP.
-
-Upstream-Status: Submitted [https://github.com/ispc/ispc/pull/2709]
-
-Signed-off-by: Aleksei Nurmukhametov <[email protected]>
-Signed-off-by: Naveen Saini <[email protected]>
----
- src/lex.ll | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/lex.ll b/src/lex.ll
-index f9e47578..0279831d 100644
---- a/src/lex.ll
-+++ b/src/lex.ll
-@@ -20,6 +20,7 @@ using namespace ispc;
- static uint64_t lParseBinary(const char *ptr, SourcePos pos, char **endPtr);
- static int lParseInteger(bool dotdotdot);
- static int lParseFP();
-+static int lParseOperator(const char *ptr);
- static void lCComment(SourcePos *);
- static void lCppComment(SourcePos *);
- static void lNextValidChar(SourcePos *, char const*&);
-@@ -29,7 +30,6 @@ static bool lConsumePragma(YYSTYPE *, SourcePos *);
- static void lHandleCppHash(SourcePos *);
- static void lStringConst(YYSTYPE *, SourcePos *);
- static double lParseHexFloat(const char *ptr);
--static yytokentype lParseOperator(const char *ptr);
- extern const char *RegisterDependency(const std::string &fileName);
- 
- #define YY_USER_ACTION \
-@@ -1162,7 +1162,7 @@ lParseHexFloat(const char *ptr) {
- 
- /** Parse an operator.
- */
--static yytokentype
-+static int
- lParseOperator(const char *ptr) {
-     yylval.stringVal = new std::string(ptr);
-     if (m->symbolTable->LookupFunctionTemplate(yytext))
--- 
-2.37.3
-
diff --git 
a/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0002-cmake-don-t-build-for-32-bit-targets.patch
 
b/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0002-cmake-don-t-build-for-32-bit-targets.patch
index ef9d99c0..f452dc50 100644
--- 
a/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0002-cmake-don-t-build-for-32-bit-targets.patch
+++ 
b/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc/0002-cmake-don-t-build-for-32-bit-targets.patch
@@ -1,4 +1,4 @@
-From cad70deae39566fa11814e27f06d5fe8ddcb1cbc Mon Sep 17 00:00:00 2001
+From 16a2c22339287122d2c25d8bb33a5a51b4e6ee51 Mon Sep 17 00:00:00 2001
 From: Naveen Saini <[email protected]>
 Date: Thu, 24 Feb 2022 20:01:11 +0530
 Subject: [PATCH] cmake: don't build for 32-bit targets
@@ -20,7 +20,7 @@ Signed-off-by: Naveen Saini <[email protected]>
  1 file changed, 3 insertions(+), 3 deletions(-)
 
 diff --git a/cmake/GenerateBuiltins.cmake b/cmake/GenerateBuiltins.cmake
-index 936590a7..b8f731de 100644
+index f84494ed..d90cb1ec 100644
 --- a/cmake/GenerateBuiltins.cmake
 +++ b/cmake/GenerateBuiltins.cmake
 @@ -253,7 +253,7 @@ function(builtin_to_cpp bit os_name arch supported_archs 
supported_oses resultFi
@@ -32,7 +32,7 @@ index 936590a7..b8f731de 100644
          endif()
      endif()
  
-@@ -340,7 +340,7 @@ function (generate_target_builtins resultList)
+@@ -339,7 +339,7 @@ function (generate_target_builtins resultList)
      set(regular_targets ${ARGN})
      list(FILTER regular_targets EXCLUDE REGEX wasm)
      foreach (ispc_target ${regular_targets})
@@ -41,7 +41,7 @@ index 936590a7..b8f731de 100644
              foreach (os_name ${TARGET_OS_LIST_FOR_LL})
                  target_ll_to_cpp(target-${ispc_target} ${bit} ${os_name} 
output${os_name}${bit})
                  list(APPEND tmpList ${output${os_name}${bit}})
-@@ -406,7 +406,7 @@ function (generate_common_builtins resultList)
+@@ -405,7 +405,7 @@ function (generate_common_builtins resultList)
      endif()
  
      message (STATUS "ISPC will be built with support of ${supported_oses} for 
${supported_archs}")
@@ -50,6 +50,3 @@ index 936590a7..b8f731de 100644
          foreach (os_name "windows" "linux" "freebsd" "macos" "android" "ios" 
"ps4" "web")
              foreach (arch "x86" "arm" "wasm")
                  builtin_to_cpp(${bit} ${os_name} ${arch} "${supported_archs}" 
"${supported_oses}" res${bit}${os_name}${arch})
--- 
-2.41.0
-
diff --git a/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc_1.22.0.bb 
b/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc_1.23.0.bb
similarity index 92%
rename from dynamic-layers/openembedded-layer/recipes-core/ispc/ispc_1.22.0.bb
rename to dynamic-layers/openembedded-layer/recipes-core/ispc/ispc_1.23.0.bb
index 4b434bb0..ed8df859 100644
--- a/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc_1.22.0.bb
+++ b/dynamic-layers/openembedded-layer/recipes-core/ispc/ispc_1.23.0.bb
@@ -15,11 +15,10 @@ SRC_URI = 
"git://github.com/ispc/ispc.git;protocol=https;branch=main \
            file://0002-cmake-don-t-build-for-32-bit-targets.patch \
            file://0001-Fix-QA-Issues.patch \
            
file://0001-Add-print-function-to-print-test-run-status-in-ptest.patch \
-           file://0001-Fix-return-type-of-lParseOperator.patch \
            file://run-ptest \
            "
 
-SRCREV = "bd2c42d42e0cc3da1baf92160b82d4dc820a02ee"
+SRCREV = "bcb2cf896c00f9a802a11cbf291ef6e44b205416"
 
 COMPATIBLE_HOST = '(x86_64).*-linux'
 
@@ -59,7 +58,6 @@ EXTRA_OECMAKE += " \
                   -DSYSROOT_DIR=${STAGING_DIR} \
                   -DCLANG_EXECUTABLE=${STAGING_BINDIR_NATIVE}/clang \
                   -DCLANGPP_EXECUTABLE=${STAGING_BINDIR_NATIVE}/clang++ \
-                  -DLLVM_DIS_EXECUTABLE=${STAGING_BINDIR_NATIVE}/llvm-dis \
                   -DLLVM_AS_EXECUTABLE=${STAGING_BINDIR_NATIVE}/llvm-as \
                   "
 
-- 
2.43.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8241): 
https://lists.yoctoproject.org/g/meta-intel/message/8241
Mute This Topic: https://lists.yoctoproject.org/mt/104624411/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to