Commit 824a21c
Fix build IGC action
Fix build IGC action used in CI. Every job has been failing for over a week.
The CI got into a bad state, in the newer IGC releases the package names changed
to use dashes instead of underscores, this caused a curl command downloading the packages
to fail, which then got saved to a build cache that's used on every build.
So right now, every build is failing because it's retrieving that invalid build cache
result.
In this PR, I both workaround the build cache issue,
prevent this from happening in the future by erroring in multiple places, and fix the curl script.
The build cache issue can only be worked around because the cache is non-writable, the bad result
would need to be manually deleted by a repo admin. What we can do is just use a new cache key
if the cache result is bad, redownload and store based on the new cache key, and use
the new cache result in the actual IGC build.
I also fixed a CMake issue related to the new shared library name.
I reproduced the exact state of the repo in my fork and verified this fixes it, [here](https://github.com/sarnex/intel-graphics-compiler/actions/runs/12186673537/job/33995744349).
The LLVM 16 build failures are a separate issue.1 parent 50b9827 commit 824a21c
File tree
2 files changed
+51
-10
lines changed- .github/workflows
- IGC/BiFModule
2 files changed
+51
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
26 | 32 | | |
27 | 33 | | |
28 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
29 | 40 | | |
30 | 41 | | |
31 | 42 | | |
32 | 43 | | |
33 | 44 | | |
34 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
35 | 53 | | |
36 | | - | |
37 | | - | |
| 54 | + | |
| 55 | + | |
38 | 56 | | |
39 | | - | |
| 57 | + | |
40 | 58 | | |
41 | 59 | | |
42 | | - | |
| 60 | + | |
43 | 61 | | |
44 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
45 | 75 | | |
46 | 76 | | |
47 | 77 | | |
| |||
113 | 143 | | |
114 | 144 | | |
115 | 145 | | |
116 | | - | |
| 146 | + | |
117 | 147 | | |
118 | | - | |
119 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
120 | 153 | | |
121 | 154 | | |
122 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
| |||
0 commit comments