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

Backport patches to fix compile problems like: | /build/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.10395-r0/git/visa/LocalScheduler/SWSB_G4IR.cpp:1459:49: error: expected primary-expression before 'int' | 1459 | int maxTokenDelay = std::numeric_limits<int>::min(); //The delay may cause if reuse | | ^~~ | /build/build/tmp/work/corei7-64-poky-linux/intel-graphics-compiler/1.0.10395-r0/git/visa/LocalScheduler/SWSB_G4IR.cpp:1460:37: error: 'numeric_limits' is not a member of 'std' | 1460 | int minTokenDistance = std::numeric_limits<int>::max(); //The distance from the reused node Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
24 lines
833 B
Diff
24 lines
833 B
Diff
From 4369c970d4e02258b3c53e854faaa34197124a33 Mon Sep 17 00:00:00 2001
|
|
From: Marcin Naczk <marcin.naczk@intel.com>
|
|
Date: Tue, 22 Feb 2022 13:09:54 +0000
|
|
Subject: [PATCH] Upgrade github Action build IGC
|
|
|
|
- Fix build IGC on Ubuntu 22.04 by adding missing include
|
|
|
|
Upstream-Status: Backport
|
|
Part of: https://github.com/intel/intel-graphics-compiler/commit/4369c970d4e02258b3c53e854faaa34197124a33
|
|
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
|
|
---
|
|
diff --git a/visa/iga/IGALibrary/IR/SWSBSetter.hpp b/visa/iga/IGALibrary/IR/SWSBSetter.hpp
|
|
index 6a2de51ee02..4a6fd8735ce 100644
|
|
--- a/visa/iga/IGALibrary/IR/SWSBSetter.hpp
|
|
+++ b/visa/iga/IGALibrary/IR/SWSBSetter.hpp
|
|
@@ -15,6 +15,7 @@ SPDX-License-Identifier: MIT
|
|
#include "Operand.hpp"
|
|
#include "../ErrorHandler.hpp"
|
|
#include "RegDeps.hpp"
|
|
+#include <limits>
|
|
|
|
namespace iga
|
|
{
|