Commit Graph

25 Commits

Author SHA1 Message Date
fd46428741 Switch builds to LLVM 16 and update docs
Switch builds to use LLVM 16. Updated the documentation to treat LLVM 16 as default.
Refreshed parts of buildIGC.sh regarding supported versions. Fixed a bug when setting a variable in buildIGC.sh to a default value.

Force enabled exceptions for VC. This is a workaround while we're investigating why they're disabled.
2025-10-24 12:25:56 +02:00
49dd7c3bd5 Aligned LLVM version in verification builds with current production. 2025-05-22 17:00:12 +02:00
a3b574650b Extend build-IGC artifact retention length
We (the DPCPP team) use the CI build artifacts, and we often have issues with artifacts we want to download being expired as they are only retained for 7 days.
Extend it to 30 days.

Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
2025-04-25 16:10:35 +02:00
824a21c756 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.
2024-12-10 16:38:30 +01:00
4c0dbebadd Retry: Update build-IGC public action
Previous attempt was mistakenly reverted.

- Add LLVM 16
- Remove 22.04 Ubuntu building; for public validate only on latest Ubuntu
- Remove unused `experimental` key
- Update SPIRV-Headers/Tools refs to use ToT
2024-11-26 13:58:48 +01:00
777d75daa4 [Autobackout][FunctionalRegression]Revert of change: e3906b112c: Update build-IGC public action
- Add LLVM 16
    - Remove 22.04 Ubuntu building; for public validate only on latest Ubuntu
    - Remove unused `experimental` key
    - Update SPIRV-Headers/Tools refs to use ToT
2024-11-25 16:27:35 +01:00
e3906b112c Update build-IGC public action
- Add LLVM 16
- Remove 22.04 Ubuntu building; for public validate only on latest Ubuntu
- Remove unused `experimental` key
- Update SPIRV-Headers/Tools refs to use ToT
2024-11-25 11:52:50 +01:00
2476efeb46 Update artifact publish method
Update artifact publish method
2024-09-17 15:01:29 +02:00
f6d648cf29 Fix Ubuntu 24.04 builds
As a follow-up on 63bfdce9, make sure that the SPIR-V Translator also gets
built on UB24 to be picked up by corresponding IGC builds.
2024-09-12 10:34:39 +02:00
63bfdce937 Replace Ubuntu 20.04 support with 24.04
Replace support for Ubuntu 20.04 with 24.04
2024-09-11 14:56:06 +02:00
fe833d64c9 Workflow refactor
Refactors github workflows
2024-03-22 09:27:10 +01:00
baade1d924 Deprecate pre-LLVM 14 build configurations in GH actions
After the full switch onto LLVM 14, retaining build compability with earlier
versions has become unfeasible. Resort to LLVM 14-15 as the only verified
versions.
2023-07-24 12:57:52 +02:00
d23f0fa368 Removed the LLVM 10 Ubuntu 20.04 build
Removed the LLVM 10 Ubuntu 20.04 build from build-IGC
2023-06-27 17:14:44 +02:00
ca387ba1be Switch IGC to LLVM 14
Upgrade the default LLVM version, build instructions and build verification
actions.
2023-05-23 13:04:33 +02:00
89c696acf0 Fix GH Action - checkout SPIRV-Tools and SPIRV-Header to specific tag
Fix GH Action - checkout SPIRV-Tools and SPIRV-Header to specific tag
2023-01-31 12:05:38 +01:00
34d23ac26a Fix OS github Action - update deprecated actions
Fix OS github Action - update deprecated actions
2023-01-12 13:29:33 +01:00
dc8a296aa1 Add LLVM 15 build to public Github Actions
Verify IGC buildability with LLVM 15 via GH actions. Now that API
compability has been achieved, update the documentation accordingly.
2022-12-14 16:40:47 +01:00
5805c380ed Remove build on Ubuntu18 from GithubAction
Remove build on Ubuntu18 from GithubAction.
Also remove broken send email notification
2022-10-12 14:52:00 +02:00
0a2dbb5dca Add LLVM 14 build to GitHub Actions CI
Now that we are API-compatible with LLVM 14, update the CI workflow and the
documentation accordingly.
2022-07-11 12:57:30 +02:00
7ee584d8ce Enable run public Github Action on PR
Enable run public Github Action on PR
2022-05-20 09:32:20 +02:00
4369c970d4 Upgrade github Action build IGC
- Add IGC build by gcc with LLVM 12 on Ubuntu20.04
- Add IGC build by gcc with LLVM 12 on Ubuntu22.04
- Add IGC build by gcc with LLVM 13 on Ubuntu22.04
- Add IGC build by clang with LLVM 12 on Ubuntu20.04
- Remove IGC build by clang with LLVM 10 on Ubuntu18.04
- Remove IGC build by clang with LLVM 11 on Ubuntu18.04
- Fix build IGC with LLVM 12 with prebuild by change in cmake
- Fix build IGC on Ubuntu 22.04 by adding missing include
2022-02-22 16:32:27 +01:00
4b266b5660 Upgrade Build IGC in github Action
Upgrade Build IGC in github Action:
-Adding OpenCL Clang caching
-Adding dropping Artifact from ready builds
-SPIRV-LLVM-Translator build caching added
-add e-mail notification when build fails
2022-01-25 20:24:06 +01:00
a5a8bdc9dc update CopyrightHeaders in gfx-driver
update CopyrightHeaders in gfx-driver
2021-12-06 20:17:10 +01:00
4546aabbb1 Remove build with LLVM12 from Github Action
Remove build with LLVM12 from Github Action
2021-11-23 14:46:39 +01:00
e382784f5d Add new build workflow to github Action
Add new build workflow to github Action to build IGC OpenSource on
public repository on github hosted machines
2021-11-08 08:46:06 +01:00